Package org.languagetool.tools
Class DictionaryExporter
- java.lang.Object
-
- org.languagetool.tools.DictionaryBuilder
-
- org.languagetool.tools.DictionaryExporter
-
final class DictionaryExporter extends DictionaryBuilder
Print the contents of a Morfologik binary dictionary to STDOUT.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDictionaryExporter(java.io.File infoFile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private voidbuild(java.io.File binaryDictFile)static voidmain(java.lang.String[] args)protected voidoutputSeparatorToTab(java.io.File inputFile)-
Methods inherited from class org.languagetool.tools.DictionaryBuilder
addFreqData, buildDict, buildFSA, convertTabToSeparator, getOption, getOutputFilename, hasOption, isOptionTrue, readFreqList, setOutputFilename
-
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args) throws java.lang.Exception- Throws:
java.lang.Exception
-
build
private void build(java.io.File binaryDictFile) throws java.lang.RuntimeException, java.io.IOException- Throws:
java.lang.RuntimeExceptionjava.io.IOException
-
outputSeparatorToTab
protected void outputSeparatorToTab(java.io.File inputFile) throws java.lang.RuntimeException, java.io.IOException- Throws:
java.lang.RuntimeExceptionjava.io.IOException
-
-