ggb/porterstemmer/1.0.0

NOTE: this package is not compatible with Elm 0.19.1

PorterStemmer

Elm implementation of the classical Porter Stemming-algorithm. The algorithm is described in this paper and on Wikipedia. The implementation is inspired by the JavaScript- and the Haskell-implementation.

The module exposes a single function.

stem

Removes a words suffixes to get the words stem.

stem "sky" == "sky"
stem "hopefulness" == "stem"