protected function SearchApiPorter2::addEnding in Search API 7
Appends a given string to the current word.
Parameters
string $string: The ending to append.
5 calls to SearchApiPorter2::addEnding()
- SearchApiPorter2::step1a in includes/
processor_stemmer.inc - Handles various suffixes, of which the longest is replaced.
- SearchApiPorter2::step1b in includes/
processor_stemmer.inc - Handles various suffixes, of which the longest is replaced.
- SearchApiPorter2::step1c in includes/
processor_stemmer.inc - Replaces suffix y or Y with i if after non-vowel not @ word begin.
- SearchApiPorter2::step2 in includes/
processor_stemmer.inc - Implements step 2 of the Porter2 algorithm.
- SearchApiPorter2::step3 in includes/
processor_stemmer.inc - Implements step 3 of the Porter2 algorithm.
File
- includes/
processor_stemmer.inc, line 669 - Contains SearchApiPorterStemmer and SearchApiPorter2.
Class
- SearchApiPorter2
- Implements the Porter2 stemming algorithm.
Code
protected function addEnding($string) {
$this->word = $this->word . $string;
}