stemmer-0.2: Haskell bindings to the Snowball stemming library.
NLP.Stemmer
Contents
Description
Haskell bindings for the Snowball stemming library A pure stemming interface. Strings should use UTF-8 encoding.
pure
Synopsis
data Algorithm Source
Available algorithms. For English, English is recommended over Porter.
English
Porter
Constructors
Instances
stem :: Algorithm -> String -> StringSource
Stem a word
stemWords :: Algorithm -> [String] -> [String]Source
Stem a list of words, more efficient than map stem
map stem
stem