class documentation
class PorterTest(unittest.TestCase): (source)
Undocumented
Method | test |
Test for improvement on https://github.com/nltk/nltk/issues/2507 |
Method | test |
Test for bug https://github.com/nltk/nltk/issues/1581 |
Method | test |
Tests all words from the test vocabulary provided by M Porter |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | _test |
Undocumented |
Method | _vocabulary |
Undocumented |
Test for improvement on https://github.com/nltk/nltk/issues/2507
Ensures that stems are lowercased when to_lowercase=True
Test for bug https://github.com/nltk/nltk/issues/1581
Ensures that 'oed' can be stemmed without throwing an error.
Tests all words from the test vocabulary provided by M Porter
- The sample vocabulary and output were sourced from:
- http://tartarus.org/martin/PorterStemmer/voc.txt http://tartarus.org/martin/PorterStemmer/output.txt
and are linked to from the Porter Stemmer algorithm's homepage at
http://tartarus.org/martin/PorterStemmer/