Inherited by LanguageZh.
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 6 of file LanguageZh_hans.php.
LanguageZh_hans::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 7 of file LanguageZh_hans.php.
LanguageZh_hans::normalizeForSearch | ( | $ | string | ) |
Some languages have special punctuation need to be normalized.
Make such changes here.
$string | String |
Reimplemented from Language.
Definition at line 22 of file LanguageZh_hans.php.
References $s, Language::convertDoubleWidth(), wfProfileIn(), and wfProfileOut().
LanguageZh_hans::wordSegmentation | ( | $ | string | ) |
Eventually this should be a word segmentation; for now just treat each character as a word.
Reimplemented from Language.
Definition at line 16 of file LanguageZh_hans.php.
References $s, and Language::insertSpace().