Open Source Text Processing Project: fast-stemmer

Deep Learning Specialization on Coursera

Fast Porter stemmer based on a C version of the algorithm

Project Website: None

Github Link:


Fast-stemmer is simply a wrapping around multithreaded
Porter stemming algorithm.

This gem adds a String#stem method, and it conflicts with the stemmer gem.
It’s in order of magnitude faster (and uses much less memory) than the latter.

For the original work please see:

gem ‘fast-stemmer’


require ‘rubygems’
require ‘fast_stemmer’

Stemmer::stem_word(‘running’) # -> ‘run’
‘running’.stem # -> ‘run’


Copyright (c) 2008 Roman Shterenzon. See LICENSE for details.

Leave a Reply

Your email address will not be published. Required fields are marked *