Class DictApply

  • All Implemented Interfaces:
    java.util.concurrent.Callable<ExitStatus>

    public class DictApply
    extends CliTool
    Applies a morphological dictionary automaton to the input.
    • Field Detail

      • input

        private java.nio.file.Path input
      • dictionary

        private java.nio.file.Path dictionary
      • inputEncoding

        private java.lang.String inputEncoding
      • skipTags

        private boolean skipTags
    • Constructor Detail

      • DictApply

        DictApply()
      • DictApply

        public DictApply​(java.nio.file.Path dictionary,
                         java.nio.file.Path input,
                         java.lang.String inputEncoding)
    • Method Detail

      • call

        public ExitStatus call()
                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • determineInput

        private DictApply.LineSupplier determineInput()
                                               throws java.io.IOException
        Throws:
        java.io.IOException
      • validateArguments

        private ExitStatus validateArguments()
      • main

        public static void main​(java.lang.String[] args)