Elm implementation of the classical Porter Stemming-algorithm.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
tests
.gitignore
LICENSE
README.md
documentation.json
elm.json

README.md

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

The stem-function takes a word and returns its stem.

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