Class DictCompile

java.lang.Object
morfologik.tools.CliTool
morfologik.tools.DictCompile
All Implemented Interfaces:
Callable<ExitStatus>

public class DictCompile extends CliTool
Decompiles morphological dictionary automaton back to source state.
  • Field Details

    • input

      private Path input
    • validate

      private boolean validate
    • format

      private SerializationFormat format
    • overwrite

      private boolean overwrite
    • binaryInput

      private BinaryInput binaryInput
  • Constructor Details

    • DictCompile

      DictCompile()
    • DictCompile

      public DictCompile(Path input, boolean overwrite, boolean validate, boolean acceptBom, boolean acceptCr, boolean ignoreEmpty)
  • Method Details

    • call

      public ExitStatus call() throws Exception
      Throws:
      Exception
    • countOf

      private static int countOf(byte separator, byte[] row)
    • indexOf

      private static int indexOf(byte separator, byte[] row, int fromIndex)
    • main

      public static void main(String[] args)