arabic reverse function

pull/7208/head
Topdu 2022-08-22 09:57:57 +00:00
parent 2741a84de7
commit 1a5e1be1fa
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ class BaseRecLabelDecode(object):
pred_re = []
c_current = ''
for c in pred:
if not bool(re.search('[a-zA-Z0-9 ]', c)):
if not bool(re.search('[a-zA-Z0-9 :*./%+-]', c)):
if c_current != '':
pred_re.append(c_current)
pred_re.append(c)