Package nltk :: Package stem :: Module api :: Class StemmerI
[hide private]
[frames] | no frames]

Class StemmerI

source code

object --+
         |
        StemmerI
Known Subclasses:

A processing interface for removing morphological affixes from words. This process is known as stemming.

Instance Methods [hide private]
 
stem(self, token)
Strip affixes from the token and return the stem.
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

stem(self, token)

source code 

Strip affixes from the token and return the stem.

Parameters:
  • token (str) - The token that should be stemmed.