[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

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

(no description)

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

Defines 1 class

Dutch:: (10 methods):
  stem()
  hasValidSEnding()
  hasValidEnEnding()
  unDoubling()
  step1()
  step2()
  step3a()
  step3b()
  step4()
  finish()


Class: Dutch  - X-Ref


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


hasValidSEnding($word)   X-Ref
Define a valid s-ending as a non-vowel other than j.

param: string $ending
return: boolean

hasValidEnEnding($word)   X-Ref
Define a valid en-ending as a non-vowel, and not gem.

param: string $ending
return: boolean

unDoubling()   X-Ref
Define undoubling the ending as removing the last letter if the word ends kk, dd or tt.


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


step2()   X-Ref
Step 2
Delete suffix e if in R1 and preceded by a non-vowel, and then undouble the ending


step3a()   X-Ref
Step 3a: heid
delete heid if in R2 and not preceded by c, and treat a preceding en as in step 1(b)


step3b($removedE)   X-Ref
Step 3b: d-suffixe
Search for the longest among the following suffixes, and perform the action indicated.


step4()   X-Ref
Step 4: undouble vowel
If the words ends CVD, where C is a non-vowel, D is a non-vowel other than I, and V is double a, e, o or u,
remove one of the vowels from V (for example, maan -> man, brood -> brod).


finish()   X-Ref
Finally
Turn I and Y back into lower case.




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