具体来说,我无法加载标签模型。我已经确认模型jar在我的类路径中,并且我的类路径中没有多个版本的CoreNLP。我还提取了模型jar文件,并确认pos包含在内。据我所知,pos似乎是唯一不能访问的模型。最后一次尝试,我下载了英语模型jar,并尝试用这个新下载替换模型jar。这是行不通的。) at edu.stanford.nlp.u
我目前正在尝试用CoreNLP训练我自己的中国NER模型,但是当我执行训练命令时,我得到了一个FileNotFoundException。nlp\data\chinese\distsim\xin_cmn_200907-201012.ldc.seg.utf8.c1000 (The system cannot find the path specified)
BufferedReader r = new BufferedReader(new InputStreamReader(new FileInputStream(args[1]), "utf-8")); DocumentPreprocessorSentence.listToString(tSentence, false));