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.

Synopsis

Stemming algorithms

data Algorithm Source

Available algorithms. For English, English is recommended over Porter.

Instances

Stemming functions

stem :: Algorithm -> String -> StringSource

Stem a word

stemWords :: Algorithm -> [String] -> [String]Source

Stem a list of words, more efficient than map stem