function porterstemmer_poststemming in Porter-Stemmer 7
Same name and namespace in other branches
- 6.2 porterstemmer.module \porterstemmer_poststemming()
Turn Y back into y to undo pre-processing.
1 call to porterstemmer_poststemming()
- porterstemmer_stem in includes/
standard-stemmer.inc - Stems a word, using the Porter Stemmer 2 algorithm.
File
- includes/
standard-stemmer.inc, line 272 - This is an implementation of the Porter 2 Stemming algorithm.
Code
function porterstemmer_poststemming(&$word) {
$word = str_replace('Y', 'y', $word);
}