MediaWiki  REL1_19
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 77 of file LanguageGan.php.


Constructor & Destructor Documentation

Reimplemented from LanguageZh.

Definition at line 79 of file LanguageGan.php.

References $wgHooks.


Member Function Documentation

Parameters:
$termsArrayarray
Returns:
array

Reimplemented from LanguageZh.

Definition at line 139 of file LanguageGan.php.

References Language\convertDoubleWidth().

Here is the call graph for this function:

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

word segmentation

Parameters:
$stringstring
$autoVariantstring
Returns:
String

Reimplemented from LanguageZh.

Definition at line 130 of file LanguageGan.php.

this should give much better diff info

Parameters:
$textstring
Returns:
string

Reimplemented from LanguageZh.

Definition at line 107 of file LanguageGan.php.

Parameters:
$textstring
Returns:
string

Reimplemented from LanguageZh.

Definition at line 117 of file LanguageGan.php.


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