arabic reverse function
parent
2741a84de7
commit
1a5e1be1fa
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue