Error: raise ValueError("Syntax error at '%s':%s" % (p.value, p))
Capbill-WU opened this issue · 0 comments
Capbill-WU commented
Hi, an error occurred when I changed the file "1998-01-2003版-带音" into another file "1998年01月-06月语料库"(you can see it through this link https://pan.baidu.com/s/1K9rEQWxm1UMdstl6sWpvgg 提取码:np3t).
the error shows
File "/../CorpusToolkit/ply_parser.py", in line 108 in p_error
rasie ValueError("Syntax error at '%s':%s" % (p.value, p))
ValueError: Syntax error at '/': LexToken ( SlASH,'/',1,178 )
The reason why I want to change the file is its words is not enough to train a good model for a NER task. So, if I want to use your program, how should I change your code? Looking forward to your reply, thanks!