Interface Stemmer

  • All Known Implementing Classes:
    StemmerImpl

    public interface Stemmer
    Interface providing stemming of single words.
    Author:
    Mathias Mølster Lidal
    • Method Detail

      • stem

        List<StemList> stem​(String input,
                            StemMode mode,
                            Language language)
        Stem input according to specified stemming mode.
        Parameters:
        input - the string to stem.
        mode - the stemming mode
        language - the language to use for stemming
        Returns:
        a list of possible stems. Empty if none.
        Throws:
        ProcessingException - thrown if there is an exception stemming this input