Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
lsarni opened this issue Apr 30, 2018 · 3 comments
Open

Comments

@lsarni
Copy link

lsarni commented Apr 30, 2018

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

@flaxsearch
Copy link
Owner

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.

@lsarni
Copy link
Author

lsarni commented Apr 30, 2018

@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

@epugh
Copy link

epugh commented Sep 13, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants