[fix] update to control characters for generating the transliteration rules

This commit is contained in:
Al
2015-12-20 15:40:38 -05:00
parent 5439f4679f
commit ccf509edb1

View File

@@ -68,13 +68,13 @@ EMPTY_TRANSITION = u'\u0004'
NAMESPACE_SEPARATOR_CHAR = u"|"
WORD_BOUNDARY_CHAR = u"\x01"
PRE_CONTEXT_CHAR = u"\x02"
POST_CONTEXT_CHAR = u"\x03"
PRE_CONTEXT_CHAR = u"\x86"
POST_CONTEXT_CHAR = u"\x87"
EMPTY_TRANSITION_CHAR = u"\x04"
REPEAT_CHAR = u"\x05"
GROUP_INDICATOR_CHAR = u"\x06"
BEGIN_SET_CHAR = u"\x0e"
END_SET_CHAR = u"\x0f"
GROUP_INDICATOR_CHAR = u"\x1d"
BEGIN_SET_CHAR = u"\x0f"
END_SET_CHAR = u"\x0e"
BIDIRECTIONAL_TRANSLITERATORS = {
'fullwidth-halfwidth': 'halfwidth-fullwidth'