Class GermanInterfixDisambiguator

java.lang.Object
de.danielnaber.jwordsplitter.GermanInterfixDisambiguator

class GermanInterfixDisambiguator extends Object
Tries to resolve ambiguities, e.g. "Urlaubsorte" could be Urlaub+s+Orte but also Urlaub+Sorte (our dictionary doesn't know which words require an interfix character).
  • Field Details

    • wordsRequiringInterfixS

      private static final Set<String> wordsRequiringInterfixS
    • dictionary

      private final Set<String> dictionary
  • Constructor Details

    • GermanInterfixDisambiguator

      GermanInterfixDisambiguator(Set<String> dictionary)
  • Method Details