lang.porter
module¶
Reimplementation of the Porter stemming algorithm in Python.
In my quick tests, this implementation about 3.5 times faster than the seriously weird Python linked from the official page.
- whoosh.lang.porter.stem(w)¶
Uses the Porter stemming algorithm to remove suffixes from English words.
>>> stem("fundamentally") "fundament"