Enum Class StemmerPatchTrieLoader.Language

java.lang.Object
java.lang.Enum<StemmerPatchTrieLoader.Language>
org.egothor.stemmer.StemmerPatchTrieLoader.Language
All Implemented Interfaces:
Serializable, Comparable<StemmerPatchTrieLoader.Language>, Constable
Enclosing class:
StemmerPatchTrieLoader

public static enum StemmerPatchTrieLoader.Language extends Enum<StemmerPatchTrieLoader.Language>
Supported bundled stemmer dictionaries.

Each language constant defines:

  • the resource directory name used under the bundled resources tree
  • whether the language is written right-to-left

The right-to-left flag is intended for consumers that need to decide whether affix-oriented processing should conceptually traverse words from the visual end or from the logical beginning of the stored form.