[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

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

(no description)

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

Defines 1 class

Danish:: (6 methods):
  stem()
  hasValidSEnding()
  step1()
  step2()
  step3()
  step4()


Class: Danish  - X-Ref


stem($word)   X-Ref
{@inheritdoc}


hasValidSEnding($word)   X-Ref
Define a valid s-ending as one of
a   b   c   d   f   g   h   j   k   l   m   n   o   p   r   t   v   y   z   å

param: string $ending
return: boolean

step1()   X-Ref
Step 1
Search for the longest among the following suffixes in R1, and perform the action indicated.


step2()   X-Ref
Step 2
Search for one of the following suffixes in R1, and if found delete the last letter.
gd   dt   gt   kt


step3()   X-Ref
Step 3:


step4()   X-Ref
Step 4: undouble
If the word ends with double consonant in R1, remove one of the consonants.




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