nltk.stem.api module

class nltk.stem.api.StemmerI[source]

Bases: object

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

abstract stem(token)[source]

Strip affixes from the token and return the stem.

Parameters

token (str) – The token that should be stemmed.