FinderIndexerStemmerFr::_getFirstRule
Returns the number of the first rule from the rule number that can be applied to the given reversed input.
returns -1 if no rule can be applied, ie the stem has been found
Signature
private function _getFirstRule(string
$reversed_input,
integer
$rule_numberĀ )
Parameters
-
$reversed_input
- The input to check in reversed order
-
$rule_number
- The rule number to check
Returns
- integer
- Number of the first rule