|
MediaWiki
REL1_20
|
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 98 of file LanguageGan.php.
| LanguageGan::convertForSearchResult | ( | $ | termsArray | ) |
| $termsArray | array |
Reimplemented from LanguageZh.
Definition at line 160 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 151 of file LanguageGan.php.
| LanguageGan::segmentForDiff | ( | $ | text | ) |
this should give much better diff info
| $text | string |
Reimplemented from LanguageZh.
Definition at line 128 of file LanguageGan.php.
| LanguageGan::unsegmentForDiff | ( | $ | text | ) |
| $text | string |
Reimplemented from LanguageZh.
Definition at line 138 of file LanguageGan.php.