Package org.languagetool.tools
Class POSDictionaryBuilder
java.lang.Object
org.languagetool.tools.POSDictionaryBuilder
Create a Morfologik binary dictionary from plain text data.
- Since:
- public since 2.8
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected FileaddFreqData(File dictFile, boolean useSeparator) protected Fileprotected Fileprotected FileconvertTabToSeparator(File inputFile) protected @Nullable Stringprotected Stringprotected booleanprotected booleanisOptionTrue(String option) static voidprotected voidreadFreqList(File freqListFile) protected voidsetOutputFilename(String outputFilename)
-
Constructor Details
-
POSDictionaryBuilder
- Throws:
IOException
-
-
Method Details
-
main
- Throws:
Exception
-
build
- Throws:
Exception
-
setOutputFilename
-
getOutputFilename
-
buildDict
- Throws:
Exception
-
buildFSA
- Throws:
Exception
-
getOption
-
hasOption
-
isOptionTrue
-
readFreqList
-
addFreqData
- Throws:
IOException
-
convertTabToSeparator
- Throws:
RuntimeExceptionIOException
-