lingjiameng / ner4novel Goto Github PK
View Code? Open in Web Editor NEW小说人名统计和关系提取(基于HanLP)
小说人名统计和关系提取(基于HanLP)
报错
七月 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 加载失败
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.