MediaWiki  REL1_22
LanguageYue Class Reference

Cantonese (粵語) More...

Inheritance diagram for LanguageYue:
Collaboration diagram for LanguageYue:

List of all members.

Public Member Functions

 hasWordBreaks ()
 normalizeForSearch ($string)
 segmentByWord ($string)
 Eventually this should be a word segmentation; for now just treat each character as a word.

Detailed Description

Cantonese (粵語)

Definition at line 29 of file LanguageYue.php.


Member Function Documentation

Returns:
bool

Reimplemented from Language.

Definition at line 34 of file LanguageYue.php.

Parameters:
$string
Returns:
string

Reimplemented from Language.

Definition at line 56 of file LanguageYue.php.

References $s, Language\convertDoubleWidth(), wfProfileIn(), and wfProfileOut().

Eventually this should be a word segmentation; for now just treat each character as a word.

Todo:
FIXME: Only do this for Han characters...
Parameters:
$stringstring
Returns:
string

Reimplemented from Language.

Definition at line 46 of file LanguageYue.php.

References $s, and Language\insertSpace().


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