|
function endsinArr($word, $suffixes) { |
as in the original algorithm is explained, this function should return the longest match/suffix.
This function will return the first suffix it finds which could be shorter that the one it should outputs. This makes failure in lot of words.
stemmer-es/stemm_es.php
Line 50 in e9f1d9c
as in the original algorithm is explained, this function should return the longest match/suffix.
This function will return the first suffix it finds which could be shorter that the one it should outputs. This makes failure in lot of words.