You are here

public function Porter2Test6::stemDataProvider in Porter-Stemmer 8

Data provider for testStem().

Return value

array Nested arrays of values to check:

  • $word
  • $stem

File

tests/src/Unit/Porter2Test6.php, line 39

Class

Porter2Test6
Tests the "PorterStemmer" implementation.

Namespace

Drupal\Tests\porterstemmer\Unit

Code

public function stemDataProvider() {
  return $this
    ->retrieveStemWords(25000, 5000);
}