报错如下:
Traceback (most recent call last):
File "C:/Users/SNT-QXQ/AppData/Roaming/JetBrains/PyCharmCE2020.1/scratches/scratch_1.py", line 7, in <module>
pkuseg.test(txt,out)
File "D:\Software\ANACONDA\lib\site-packages\pkuseg\__init__.py", line 551, in test
input_file, output_file, nthread, model_name, user_dict, postag, verbose
File "D:\Software\ANACONDA\lib\site-packages\pkuseg\__init__.py", line 474, in _test_multi_proc
if not os.path.exists(input_file):
File "D:\Software\ANACONDA\lib\genericpath.py", line 19, in exists
os.stat(path)
ValueError: stat: path too long for Windows