stemmer alternatives and similar packages
Based on the "Text and Numbers" category.
Alternatively, view stemmer alternatives based on common mentions on social networks and blogs.
Do you think we are missing an alternative of stemmer or a related project?
An English (Porter2) stemming implementation in Elixir.
In linguistic morphology and information retrieval, stemming is the process of reducing inflected (or sometimes derived) words to their word stem, base or root form—generally a written word form. The stem need not be identical to the morphological root of the word; it is usually sufficient that related words map to the same stem, even if this stem is not in itself a valid root. - Wikipedia
Stemmer.stem/1 function supports stemming a single word (
String), a sentence (
String) or a list of single words (
Stemmer.stem("capabilities") # => "capabl" Stemmer.stem("extraordinary capabilities") # => "extraordinari capabl" Stemmer.stem(["extraordinary", "capabilities"]) # => ["extraordinari", "capabl"]
Stemmer is 100% compatible with the official Porter2 implementation, it is tested against the official
diffs.txt which contains more than 29000 words.
Stemmer was built to support the Simple Bayes library. :heart:
Licensed under MIT.
*Note that all licence references and agreements mentioned in the stemmer README section above are relevant to that project's source code only.