|
|
|
|
@ -95,7 +95,7 @@ class BaseRecLabelEncode(object):
|
|
|
|
|
support_character_type = [
|
|
|
|
|
'ch', 'en', 'EN_symbol', 'french', 'german', 'japan', 'korean',
|
|
|
|
|
'EN', 'it', 'es', 'pt', 'ru', 'ar', 'ta', 'ug', 'fa', 'ur',
|
|
|
|
|
'rs_latin', 'oc', 'rs_cyrillic', 'bg', 'uk', 'be', 'te', 'ka',
|
|
|
|
|
'rs_latin', 'oc', 'rs_cyrillic', 'bg', 'uk', 'be', 'te', 'kn',
|
|
|
|
|
'ch_tra', 'hi', 'mr', 'ne'
|
|
|
|
|
]
|
|
|
|
|
assert character_type in support_character_type, "Only {} are supported now but get {}".format(
|
|
|
|
|
|