Stemming
A crude truncation of word endings to obtain its base form: "running" → "runn", "cats" → "cat". A fast but imprecise way of normalization.
Difference from Lemmatization
| Stemming | Lemmatization | |
|---|---|---|
| Result | Base form ("runn") | Dictionary form ("run") |
| Accuracy | Lower | Higher |
| Speed | Higher | Lower |
Where It Is Used
In search: for example, lunr with a stemmer finds "cats" by the query "cat". The base form does not have to be a pretty word — it is important that it matches different forms.