Class Lemmatizers


  • public final class Lemmatizers
    extends Object

    Factory class for creating/retrieving lemmatizers for a given language

    Author:
    David B. Bracewell
    • Method Detail

      • getLemmatizer

        public static Lemmatizer getLemmatizer​(@NonNull
                                               @NonNull Language language)
        Gets the Lemmatizer for the given language as defined in the config option hermes.Lemmatizer.LANGUAGE. if no lemmatizer is specified a no-op lemmatizer is returned.
        Parameters:
        language - The language
        Returns:
        The Lemmatizer for the language