https://github.com/ggb/porterstemmer
Elm implementation of the classical Porter Stemming-algorithm.
https://github.com/ggb/porterstemmer
Last synced: 5 months ago
JSON representation
Elm implementation of the classical Porter Stemming-algorithm.
- Host: GitHub
- URL: https://github.com/ggb/porterstemmer
- Owner: ggb
- License: mit
- Created: 2015-12-23T12:44:22.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2018-08-24T22:30:12.000Z (almost 8 years ago)
- Last Synced: 2025-10-20T15:35:21.662Z (9 months ago)
- Language: Elm
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PorterStemmer
Elm implementation of the classical Porter Stemming-algorithm. The algorithm
is described in [this paper](http://tartarus.org/martin/PorterStemmer/def.txt)
and on [Wikipedia](https://en.wikipedia.org/wiki/Stemming).
The implementation is inspired by the [JavaScript](http://tartarus.org/martin/PorterStemmer/js.txt)-
and the [Haskell](http://tartarus.org/martin/PorterStemmer/haskell.txt)-implementation.
The module exposes a single function.
## stem
The stem-function takes a word and returns its stem.
stem "sky" == "sky"
stem "hopefulness" == "hope"