Open OYE93 opened 7 years ago
@molyswu I found you had run it with python2 but this project was developed with python3, you should make some changes that it can be run with python2
@OYE93 This is OOV( out of vocabulary ) problem, and there are some methods to solve it like average , firtstly use the 'UNK' to replace the word which is OOV, then train the mdoel
Thanks, I used average.
python train.py Traceback (most recent call last): File "train.py", line 4, in
from loader import load_data
File "/home/molys/product/NER/chineseNER_ucas/ChineseNER/loader.py", line 32
SyntaxError: Non-ASCII character '\xef' in file /home/molys/product/NER/chineseNER_ucas/ChineseNER/loader.py on line 32, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details