yizt/crnn.pytorch

字符集中有的字符例如\u3000在python下没法显示报错,怎么去掉?微信nlanguage

Opened this issue · 0 comments

字符集中有的字符例如\u3000在python下没法显示报错,怎么去掉?微信nlanguage

File "F:\pycharm2020.2\crnn\utils\aftertreatment.py", line 26, in
text = [self.dict[char] for [char] in text]
KeyError: ' '