Package morfologik.tools
Class DictCompile
java.lang.Object
morfologik.tools.CliTool
morfologik.tools.DictCompile
- All Implemented Interfaces:
Callable<ExitStatus>
Decompiles morphological dictionary automaton back to source state.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate BinaryInput
private SerializationFormat
private Path
private boolean
private boolean
Fields inherited from class morfologik.tools.CliTool
ARG_OVERWRITE, ARG_VALIDATE
-
Constructor Summary
ConstructorsConstructorDescriptionDictCompile
(Path input, boolean overwrite, boolean validate, boolean acceptBom, boolean acceptCr, boolean ignoreEmpty) -
Method Summary
Methods inherited from class morfologik.tools.CliTool
checkNotNull, main, main, printf, setCallSystemExit
-
Field Details
-
input
-
validate
private boolean validate -
format
-
overwrite
private boolean overwrite -
binaryInput
-
-
Constructor Details
-
DictCompile
DictCompile() -
DictCompile
public DictCompile(Path input, boolean overwrite, boolean validate, boolean acceptBom, boolean acceptCr, boolean ignoreEmpty)
-
-
Method Details
-
call
- Throws:
Exception
-
countOf
private static int countOf(byte separator, byte[] row) -
indexOf
private static int indexOf(byte separator, byte[] row, int fromIndex) -
main
-