class Greek extends Normalizer
To normalize greek text we use mb_strtolower to transform to lower case and then replace every accented character with its non-accented counter part and the final ς with σ
Methods
string |
normalize(string $w)
Transform the word according to the class description |
|
mixed |
transform($w)
Return the value transformed. |
from Normalizer |
array |
normalizeAll(array $items)
Apply the normalize function to all the items in the array |
from Normalizer |
static |
factory(string $language = 'English')
Just instantiate the normalizer using a factory method. |
from Normalizer |
Details
at line 19
public string
normalize(string $w)
Transform the word according to the class description
in Normalizer at line 35
public mixed
transform($w)
Return the value transformed.
in Normalizer at line 45
public array
normalizeAll(array $items)
Apply the normalize function to all the items in the array
in Normalizer at line 60
static public
factory(string $language = 'English')
Just instantiate the normalizer using a factory method.
Keep in mind that this is NOT required. The constructor IS
visible.