clade icon indicating copy to clipboard operation
clade copied to clipboard

java.io.FileNotFoundException: classifiers/all.3class.distsim.crf.ser.gz

Open lsarni opened this issue 6 years ago • 3 comments

When I try to start the Stanford Named Entity Recognition server I get this error:

Exception in thread "main" java.io.FileNotFoundException: classifiers/all.3class.distsim.crf.ser.gz (No such file or directory)
	at java.io.FileInputStream.open0(Native Method)
	at java.io.FileInputStream.open(FileInputStream.java:195)
	at java.io.FileInputStream.<init>(FileInputStream.java:138)
	at edu.stanford.nlp.ie.AbstractSequenceClassifier.loadClassifier(AbstractSequenceClassifier.java:1362)
	at edu.stanford.nlp.ie.AbstractSequenceClassifier.loadClassifier(AbstractSequenceClassifier.java:1309)
	at edu.stanford.nlp.ie.crf.CRFClassifier.getClassifier(CRFClassifier.java:2296)
	at edu.stanford.nlp.ie.NERServer.main(NERServer.java:324)

That file isn't in the folder

lsarni avatar Apr 30 '18 12:04 lsarni

Hi, it's been a while since we worked on this project. There are some zip files in the https://github.com/flaxsearch/clade/tree/master/ folder which you may need to unzip to get this file installed.

flaxsearch avatar Apr 30 '18 13:04 flaxsearch

@flaxsearch Thanks, unzipping didn't change anything but I downloaded a newer version of the Stanford NER. Now I'm struggling getting an old version of Solr, since the new ones don't have the example/solr folder

lsarni avatar Apr 30 '18 13:04 lsarni

@lsarni check out PR #5 which deals with your NER classifier issue. I'm going to update the Solr next...

epugh avatar Sep 13 '19 01:09 epugh