提交 2741a84d 编写于 作者: T Topdu

arabic reverse function

上级 09ff2493
......@@ -54,7 +54,7 @@ class BaseRecLabelDecode(object):
pred_re = []
c_current = ''
for c in pred:
if c in self.character[79:]:
if not bool(re.search('[a-zA-Z0-9 ]', c)):
if c_current != '':
pred_re.append(c_current)
pred_re.append(c)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册