Stanford CoreNLP遇到的问题
来源:互联网 发布:柯蒂斯网络函授 编辑:程序博客网 时间:2024/05/17 21:48
Exception in thread “main” java.lang.RuntimeException: edu.stanford.nlp.io.RuntimeIOException: Error while loading a tagger model (probably missing model file)
at edu.stanford.nlp.pipeline.AnnotatorFactories
… 5 more
Caused by: java.io.IOException: Unable to open “edu/stanford/nlp/models/pos-tagger/english-left3words/english-left3words-distsim.tagger” as class path, filename or URL
at edu.stanford.nlp.io.IOUtils.getInputStreamFromURLOrClasspathOrFileSystem(IOUtils.java:485)
at edu.stanford.nlp.tagger.maxent.MaxentTagger.readModelAndInit(MaxentTagger.java:765)
… 11 more
解决方案
使用maven下载相关jar包,就可以了。
<dependency> <groupId>edu.stanford.nlp</groupId> <artifactId>stanford-corenlp</artifactId> <version>3.2.0</version> <scope>compile</scope></dependency>
- Stanford CoreNLP遇到的问题
- Eclipse下使用Stanford CoreNLP的方法
- Stanford CoreNLP使用
- Stanford CoreNLP 介绍
- Stanford CoreNLP API
- 将Stanford CoreNLP的解析结果构造为json格式
- stanford coreNLP 在自己的工程下按文件处理
- 斯坦福Stanford coreNLP宾州树库的词性标注规范
- stanford corenlp自定义切词类
- Stanford coreNLP源码学习(1)
- 1.getting started Stanford CoreNLP
- Stanford CoreNLP 进行中文分词
- Stanford CoreNLP学习日记1
- Stanford CoreNLP学习日记2
- Stanford CoreNLP学习日记3
- Stanford CoreNLP学习日记4
- Stanford CoreNLP学习日记5
- Stanford CoreNLP生成CoNLL数据格式
- SpringBoot 使用 @Value 从 YAML文件读取属性
- sigmoid函数导数的硬件实现(verilog)
- clear与margin的相互作用
- 事件传递机制分析
- 中文的表达 —— 句式、段落、结构(逻辑)
- Stanford CoreNLP遇到的问题
- 理解准确率(accuracy)、精度(precision)、查全率(recall)、F1
- shiro springmvc整合第一步
- C语言复习(一)
- Android6.0 SystemUI之网络信号栏显示刷新
- 链表
- 一张图读懂 docker 命令
- 初识Intent-实现从一个Activity跳转至另一个Activity并实现单向传值
- 这是我的犹豫