Stemmer

The Stemmer project implements English Porter2 word stemming in the Elixir programming language.

github.com/fredwu/stemmer
Stemmer homepage screenshot

About Stemmer

Stemmer is a repository containing an English stemming implementation written in Elixir. It uses the Porter2 algorithm to reduce inflected English words to a common stem, which is useful in linguistic morphology and information retrieval. The Stemmer.stem/1 function accepts a single word, a sentence, or a list of words. Output stems are not always valid dictionary words; for example, "capabilities" becomes "capabl".

The project states that it is compatible with the official Porter2 implementation and is tested against the official diffs.txt word list. It was built to support the Simple Bayes library. The repository page does not describe installation steps beyond the usage examples, and it does not state a pricing model.

Key features

  • Stems a single English word, a sentence, or a list of words
  • Returns a list of stems when given a list of words
  • Implements the English Porter2 stemming algorithm in Elixir
  • Tested against the official diffs.txt word list of more than 29,000 words
  • Built to support the Simple Bayes library
Best for: Elixir developers who need English word stemming for text processing, search, or classification work.
Good for
  • Stated to be compatible with the official Porter2 implementation
  • Tested against the official diffs.txt word list
  • Accepts single words, sentences, and lists of words
Watch out for
  • Implements English stemming only
  • Stems are not always valid dictionary words, as in "capabl"

Stemmer at a glance

Type
Open-source project
Pricing
Not confirmed. Check the site
Open source
Not stated
Language
English
Last checked
Oct 6, 2026 · Online when checked
Listed
Oct 5, 2026

Stemmer alternatives

Tools and sites you could use instead, ranked by how closely they match.

All 24 alternatives

Popular in Programming Languages

Well-known listings from the same topic.

All 66

Stemmer FAQ

What input does Stemmer.stem/1 accept?
It accepts a single word as a string, a sentence as a string, or a list of single words as strings.
Is Stemmer compatible with the official Porter2 implementation?
The project states that it is 100% compatible with the official Porter2 implementation and is tested against the official diffs.txt word list, which contains more than 29,000 words.
Is something wrong or out of date?

Tell us and an editor will check it.

Own this website?

Claim the listing and suggest updates yourself. An editor checks every claim first.

Claim this listing