Public Member Functions | |
hasWordBreaks () | |
Most writing systems use whitespace to break up words. | |
wordSegmentation ($string) | |
Eventually this should be a word segmentation; for now just treat each character as a word. | |
normalizeForSearch ($string) | |
Some languages have special punctuation need to be normalized. |
Definition at line 5 of file LanguageYue.php.
LanguageYue::hasWordBreaks | ( | ) |
Most writing systems use whitespace to break up words.
Some languages such as Chinese don't conventionally do this, which requires special handling when breaking up words for searching etc.
Reimplemented from Language.
Definition at line 6 of file LanguageYue.php.
LanguageYue::normalizeForSearch | ( | $ | string | ) |
Some languages have special punctuation need to be normalized.
Make such changes here.
$string | String |
Reimplemented from Language.
Definition at line 21 of file LanguageYue.php.
References $s, Language::convertDoubleWidth(), wfProfileIn(), and wfProfileOut().
LanguageYue::wordSegmentation | ( | $ | string | ) |
Eventually this should be a word segmentation; for now just treat each character as a word.
Reimplemented from Language.
Definition at line 15 of file LanguageYue.php.
References $s, and Language::insertSpace().