斯坦福大学NER标签生成器使用提供的模型生成“找不到文件"异常 [英] Stanford NER tagger generates 'file not found' exception with provided models

查看:139
本文介绍了斯坦福大学NER标签生成器使用提供的模型生成“找不到文件"异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我下载了斯坦福NER 3.4.1 ,将其解压缩,并尝试使用默认的(提供的)受训模型在本地文件上运行命名实体识别.我知道了:

I downloaded stanford NER 3.4.1, unpacked it, and tried to run named entity recognition on a local file using the default (provided) trained model. I got this:

 `java.io.FileNotFoundException: /u/nlp/data/pos_tags_are_useless/egw4-reut.512.clusters (No such file or directory) at edu.stanford.nlp.io.IOUtils.inputStreamFromFile(IOUtils.java:481)`

出什么问题了,我该如何解决?

What's wrong and how can I fix it?

推荐答案

这是v3.4.1代码的初始版本随附的模型文件中的错误,现已修复.重新下载,所有程序都可以正常运行,而无需使用符号链接的解决方法.

This was an error in the model files accompanying the initial release of the v3.4.1 code, and has been fixed. Re-download and all should run fine, without requiring the symlink workaround.

这篇关于斯坦福大学NER标签生成器使用提供的模型生成“找不到文件"异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆