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 protected
DictionaryExporter(java.io.File infoFile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
build(java.io.File binaryDictFile)
static void
main(java.lang.String[] args)
protected void
outputSeparatorToTab(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.RuntimeException
java.io.IOException
-
outputSeparatorToTab
protected void outputSeparatorToTab(java.io.File inputFile) throws java.lang.RuntimeException, java.io.IOException
- Throws:
java.lang.RuntimeException
java.io.IOException
-
-