MediaWiki  REL1_20
LanguageGan Class Reference

class that handles both Traditional and Simplified Chinese right now it only distinguish gan_hans, gan_hant. More...

Inheritance diagram for LanguageGan:
Collaboration diagram for LanguageGan:

List of all members.

Public Member Functions

 __construct ()
 convertForSearchResult ($termsArray)
 normalizeForSearch ($string, $autoVariant= 'gan-hans')
 word segmentation
 segmentForDiff ($text)
 this should give much better diff info
 unsegmentForDiff ($text)

Detailed Description

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.


Constructor & Destructor Documentation

Reimplemented from LanguageZh.

Definition at line 100 of file LanguageGan.php.

References $wgHooks.


Member Function Documentation

Parameters:
$termsArrayarray
Returns:
array

Reimplemented from LanguageZh.

Definition at line 160 of file LanguageGan.php.

References Language\convertDoubleWidth().

LanguageGan::normalizeForSearch ( string,
autoVariant = 'gan-hans' 
)

word segmentation

Parameters:
$stringstring
$autoVariantstring
Returns:
String

Reimplemented from LanguageZh.

Definition at line 151 of file LanguageGan.php.

this should give much better diff info

Parameters:
$textstring
Returns:
string

Reimplemented from LanguageZh.

Definition at line 128 of file LanguageGan.php.

Parameters:
$textstring
Returns:
string

Reimplemented from LanguageZh.

Definition at line 138 of file LanguageGan.php.


The documentation for this class was generated from the following file: