Build a Stemming Search Engine

Build a Stemming Search Engine

Rate this article

Share this article

What is stemming?

Stemming is reducing a word to the simplest form. For example- running will be simplified to run.

While performing a search, the search engine also tries to find not only an exact match to the typed search query but also other variations of the search query.

For instance, when someone tries to search for running, the search engine tries to find different forms of the term “run”, instead of trying to only match “running”.stemming

How Stemming works-

Most stemmers work by trying to find the root word of a given search query.

There are different algorithms for stemming, but the most common in English is the Porter stemmer written by Martin Porter. For example, the Porter stemmer reduces apple and apples down to apply, and it stems berry and berries to berri.

The most popular open-source stemmer is snowball

  1. Porter Stemmer- You can experience the porter stemmer from here.
  2. Snowball Stemmer –Snowball stemmer can be experienced here. is also an example of the snowball stemmer is action.snowball stemmer


Expertrec comes with a default stemming algorithm. You can create your own search from here


Sign Up for ExpertRec


Are you showing the right products, to the right shoppers, at the right time? Contact us to know more.
You may also like