This class represents Chinese.
|
code = ' zh '
The ISO 639 language code, possibly with a country specifier or other
modifier.
|
|
fullname = ' Chinese '
The full (English) name of this language.
|
|
nplurals = 1
The number of plural forms of this language.
|
|
pluralequation = "0"
The plural equation for selection of plural forms.
|
|
listseperator = u' 、 '
This string is used to seperate lists of textual elements.
|
|
sentenceend = u' 。!?… '
These marks can indicate a sentence end.
|
|
sentencere = re.compile(r'(?sx) .*? [ \u3002\uff01\uff1f\u2026] \s* ')
|
|
puncdict = { u' ( ' : u' ( ' , ...
A dictionary of punctuation transformation rules that can be used by
punctranslate().
|
|
ignoretests = [ ' startcaps ' , ' simplecaps ' ]
List of pofilter tests for this language that must be ignored.
|
Inherited from common.Common :
CJKpunc ,
checker ,
commonpunc ,
ethiopicpunc ,
indicpunc ,
invertedpunc ,
miscpunc ,
punctuation ,
quotes ,
rtlpunc
|