Porter's stemming algorithm
Reduce words to their stems.
var stem = require('stem-porter') stem("meetings") // => "meet" stem("dwellings") // => "dwell" stem("favourable") // => "favour"
Remember that the stems are not guaranteed to be valid words.
$ npm install stem-porter
For more information on Porter's algorithm and stemming in general, see:
- Porter's original stemmer algorithm paper
- Snowball, a string manipulation language
Currently only English is supported. The implementation is heavily inspired by the Snowball implementation of Porter's English stemmer.