Coverage for nltk.stem.api : 50%
![](keybd_closed.png)
Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
# Natural Language Toolkit: Stemmer Interface # # Copyright (C) 2001-2012 NLTK Project # Author: Trevor Cohn <tacohn@cs.mu.oz.au> # Edward Loper <edloper@gradient.cis.upenn.edu> # Steven Bird <sb@csse.unimelb.edu.au> # URL: <http://www.nltk.org/> # For license information, see LICENSE.TXT
""" A processing interface for removing morphological affixes from words. This process is known as stemming.
""" """ Strip affixes from the token and return the stem.
:param token: The token that should be stemmed. :type token: str """ raise NotImplementedError()
import doctest doctest.testmod(optionflags=doctest.NORMALIZE_WHITESPACE) |