You are here

function PorterStemmerPECLOutput11UnitTest::testStemmingUnitTest in Porter-Stemmer 7

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

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

Overrides PorterStemmerOutput1UnitTest::testStemmingUnitTest

File

./porterstemmer.test, line 1004
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

PorterStemmerPECLOutput11UnitTest
Unit tests for Porter Stemmer - Stemming output part 11 PECL.

Code

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