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

type 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
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.