You are here

function PorterStemmerOutput1UnitTest::testStemmingUnitTest in Porter-Stemmer 7

Same name and namespace in other branches
  1. 6.2 porterstemmer.test \PorterStemmerOutput1UnitTest::testStemmingUnitTest()

Tests the first 2000 words in the file for stemming accuracy.

29 methods override PorterStemmerOutput1UnitTest::testStemmingUnitTest()
PorterStemmerOutput10UnitTest::testStemmingUnitTest in ./porterstemmer.test
Tests the next 2000 words in the file for stemming accuracy.
PorterStemmerOutput11UnitTest::testStemmingUnitTest in ./porterstemmer.test
Tests the next 2000 words in the file for stemming accuracy.
PorterStemmerOutput12UnitTest::testStemmingUnitTest in ./porterstemmer.test
Tests the next 2000 words in the file for stemming accuracy.
PorterStemmerOutput13UnitTest::testStemmingUnitTest in ./porterstemmer.test
Tests the next 2000 words in the file for stemming accuracy.
PorterStemmerOutput14UnitTest::testStemmingUnitTest in ./porterstemmer.test
Tests the next 2000 words in the file for stemming accuracy.

... See full list

File

./porterstemmer.test, line 142
Tests for the Porter Stemmer module. By Jennifer Hodgdon of Poplar ProductivityWare, www.poplarware.com Unit tests are based on sample words from http://snowball.tartarus.org/algorithms/english/stemmer.html which are stored in a separate file…

Class

PorterStemmerOutput1UnitTest
Unit tests for Porter Stemmer - Stemming output part 1.

Code

function testStemmingUnitTest() {
  $this
    ->_run_porterstemmer_stem_test(0, 2000);
}