public final class POSDictionaryBuilder extends Object
Constructor and Description |
---|
POSDictionaryBuilder(File infoFile) |
Modifier and Type | Method and Description |
---|---|
protected File |
addFreqData(File dictFile,
boolean useSeparator) |
File |
build(File dictFile) |
protected File |
buildDict(File inputFile) |
protected File |
buildFSA(File inputFile) |
protected File |
convertTabToSeparator(File inputFile) |
protected String |
getOption(String option) |
protected String |
getOutputFilename() |
protected boolean |
hasOption(String option) |
protected boolean |
isOptionTrue(String option) |
static void |
main(String[] args) |
protected void |
readFreqList(File freqListFile) |
protected void |
setOutputFilename(String outputFilename) |
public POSDictionaryBuilder(File infoFile) throws IOException
IOException
protected void setOutputFilename(String outputFilename)
protected String getOutputFilename()
protected boolean hasOption(String option)
protected boolean isOptionTrue(String option)
protected void readFreqList(File freqListFile)
protected File addFreqData(File dictFile, boolean useSeparator) throws IOException
IOException
protected File convertTabToSeparator(File inputFile) throws RuntimeException, IOException
RuntimeException
IOException