You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
七月 03, 2024 12:11:46 下午 com.hankcs.hanlp.corpus.io.ByteArrayFileStream createByteArrayFileStream
警告: java.io.FileNotFoundException: \home\dream\miniconda3\envs\py37\lib\python3.7\site-packages\pyhanlp\static\data\model\perceptron\large\cws.bin (系统找不到指定的路径。)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(Unknown Source)
at java.io.FileInputStream.(Unknown Source)
at java.io.FileInputStream.(Unknown Source)
at com.hankcs.hanlp.corpus.io.ByteArrayFileStream.createByteArrayFileStream(ByteArrayFileStream.java:39)
at com.hankcs.hanlp.corpus.io.ByteArrayStream.createByteArrayStream(ByteArrayStream.java:38)
at com.hankcs.hanlp.model.perceptron.model.LinearModel.load(LinearModel.java:387)
at com.hankcs.hanlp.model.perceptron.model.LinearModel.(LinearModel.java:65)
at com.hankcs.hanlp.model.perceptron.PerceptronLexicalAnalyzer.(PerceptronLexicalAnalyzer.java:70)
Traceback (most recent call last):
File "rel.py", line 369, in
model = hanlp(custom_dict=True)
File "rel.py", line 34, in init
self.PLAnalyzer = _PLAnalyzer(
File "C:\Python38\lib\site-packages\jpype_jobject.py", line 95, in init
jv = self.class.javaclass.newInstance(*args)
jpype._jclass.IOException: /home/dream/miniconda3/envs/py37/lib/python3.7/site-packages/pyhanlp/static/data/model/perceptron/large/cws.bin 加载失败
The text was updated successfully, but these errors were encountered:
报错
七月 03, 2024 12:11:46 下午 com.hankcs.hanlp.corpus.io.ByteArrayFileStream createByteArrayFileStream
警告: java.io.FileNotFoundException: \home\dream\miniconda3\envs\py37\lib\python3.7\site-packages\pyhanlp\static\data\model\perceptron\large\cws.bin (系统找不到指定的路径。)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(Unknown Source)
at java.io.FileInputStream.(Unknown Source)
at java.io.FileInputStream.(Unknown Source)
at com.hankcs.hanlp.corpus.io.ByteArrayFileStream.createByteArrayFileStream(ByteArrayFileStream.java:39)
at com.hankcs.hanlp.corpus.io.ByteArrayStream.createByteArrayStream(ByteArrayStream.java:38)
at com.hankcs.hanlp.model.perceptron.model.LinearModel.load(LinearModel.java:387)
at com.hankcs.hanlp.model.perceptron.model.LinearModel.(LinearModel.java:65)
at com.hankcs.hanlp.model.perceptron.PerceptronLexicalAnalyzer.(PerceptronLexicalAnalyzer.java:70)
Traceback (most recent call last):
File "rel.py", line 369, in
model = hanlp(custom_dict=True)
File "rel.py", line 34, in init
self.PLAnalyzer = _PLAnalyzer(
File "C:\Python38\lib\site-packages\jpype_jobject.py", line 95, in init
jv = self.class.javaclass.newInstance(*args)
jpype._jclass.IOException: /home/dream/miniconda3/envs/py37/lib/python3.7/site-packages/pyhanlp/static/data/model/perceptron/large/cws.bin 加载失败
The text was updated successfully, but these errors were encountered: