Class GermanCompoundTokenizer

  • All Implemented Interfaces:
    org.languagetool.tokenizers.Tokenizer

    public class GermanCompoundTokenizer
    extends java.lang.Object
    implements org.languagetool.tokenizers.Tokenizer
    Split German nouns using the jWordSplitter library.
    • Constructor Detail

      • GermanCompoundTokenizer

        public GermanCompoundTokenizer()
                                throws java.io.IOException
        Throws:
        java.io.IOException
      • GermanCompoundTokenizer

        public GermanCompoundTokenizer​(boolean strictMode)
                                throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • tokenize

        public java.util.List<java.lang.String> tokenize​(java.lang.String word)
        Specified by:
        tokenize in interface org.languagetool.tokenizers.Tokenizer
      • main

        public static void main​(java.lang.String[] args)
                         throws java.io.IOException
        Throws:
        java.io.IOException