Skip to content

bjjay/pyporter2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyporter2: A python implementation of the Porter2 stemmer.

See http://snowball.tartarus.org/algorithms/english/stemmer.html

USAGE
-----
>>> import Stemmer
>>> stemmer = Stemmer.Stemmer('english')
>>> stemmer.stemWord('stemming')
'stem'

UNIT TESTS
----------
To run the unit tests do:
> python Stemmer.py