[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/wamania/php-stemmer/src/Stemmer/ -> Stem.php (summary)

helper, contains stringified list of vowels

File Size: 221 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 11 functions

  inRv()
  inR1()
  inR2()
  searchIfInRv()
  searchIfInR1()
  searchIfInR2()
  search()
  r1()
  r2()
  rx()
  rv()

Functions
Functions that are not part of a class:

inRv($position)   X-Ref
R2 index (based on the beginning of the word)


inR1($position)   X-Ref
No description

inR2($position)   X-Ref
No description

searchIfInRv($suffixes)   X-Ref
No description

searchIfInR1($suffixes)   X-Ref
No description

searchIfInR2($suffixes)   X-Ref
No description

search($suffixes, $offset = 0)   X-Ref
No description

r1()   X-Ref
R1 is the region after the first non-vowel following a vowel, or the end of the word if there is no such non-vowel.


r2()   X-Ref
R2 is the region after the first non-vowel following a vowel in R1, or the end of the word if there is no such non-vowel.


rx($in)   X-Ref
Common function for R1 and R2
Search the region after the first non-vowel following a vowel in $word, or the end of the word if there is no such non-vowel.
R1 : $in = $this->word
R2 : $in = R1


rv()   X-Ref
Used by spanish, italian, portuguese, etc (but not by french)

If the second letter is a consonant, RV is the region after the next following vowel,
or if the first two letters are vowels, RV is the region after the next consonant,
and otherwise (consonant-vowel case) RV is the region after the third letter.
But RV is the end of the word if these positions cannot be found.



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer