MediaWiki
REL1_19
|
class that handles both Traditional and Simplified Chinese right now it only distinguish gan_hans, gan_hant. More...
Public Member Functions | |
__construct () | |
convertForSearchResult ($termsArray) | |
normalizeForSearch ($string, $autoVariant= 'gan-hans') | |
word segmentation | |
segmentForDiff ($text) | |
this should give much better diff info | |
unsegmentForDiff ($text) |
class that handles both Traditional and Simplified Chinese right now it only distinguish gan_hans, gan_hant.
Definition at line 77 of file LanguageGan.php.
LanguageGan::convertForSearchResult | ( | $ | termsArray | ) |
$termsArray | array |
Reimplemented from LanguageZh.
Definition at line 139 of file LanguageGan.php.
References Language\convertDoubleWidth().
LanguageGan::normalizeForSearch | ( | $ | string, |
$ | autoVariant = 'gan-hans' |
||
) |
word segmentation
$string | string |
$autoVariant | string |
Reimplemented from LanguageZh.
Definition at line 130 of file LanguageGan.php.
LanguageGan::segmentForDiff | ( | $ | text | ) |
this should give much better diff info
$text | string |
Reimplemented from LanguageZh.
Definition at line 107 of file LanguageGan.php.
LanguageGan::unsegmentForDiff | ( | $ | text | ) |
$text | string |
Reimplemented from LanguageZh.
Definition at line 117 of file LanguageGan.php.