This class represents Khmer.
|
|
khmerpunc = u'។៕៖៘'
These marks are only used for Khmer.
|
|
|
punctuation = u'.,;:!?-@#$%^*_()[]{}/\'`"<>‘’‛“”„‟′″‴‵‶‷‹›«»…±...
We include many types of punctuation here, simply since this is only
meant to determine if something is punctuation.
|
|
|
sentenceend = u'!?…។៕៘'
These marks can indicate a sentence end.
|
|
|
sentencere = re.compile(r'(?sx).*?[!\?\u2026\u17d4\u17d5\u17d8...
|
|
|
puncdict = {u'!': u' !', u'.': u' ។', u':': u' ៖', 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,
code,
commonpunc,
ethiopicpunc,
fullname,
indicpunc,
invertedpunc,
listseperator,
miscpunc,
nplurals,
pluralequation,
quotes,
rtlpunc,
validaccel,
validdoublewords
|