Interface Stemmer

  • All Known Implementing Classes:
    ENStemmer

    public interface Stemmer

    Defines the interface for stemming tokens.

    Author:
    David B. Bracewell
    • Method Detail

      • stem

        String stem​(String string)
        Stem the given token (string) without consideration of the part of speech
        Parameters:
        string - The token
        Returns:
        The stemmed version
      • stem

        default String stem​(@NonNull
                            @NonNull HString text)
        Stems the given text object.
        Parameters:
        text - The text to stem
        Returns:
        The stemmed version