Closed JafferWilson closed 7 years ago
I got this error too
The problem was solved. Don't use stanford-corenlp-full-2017-06-09. Use stanford-corenlp-full-2016-10-31.
Ok I will try it out. Just for my information, can you please tell me what is the difference between stanford-corenlp-full-2017-06-09 and stanford-corenlp-full-2016-10-31. jar? I thought ultimately they are Standford NLP jars and might have everything similar. Kindly, let me know what exactly is the difference that made me use the 2016 version and not the 2017 version.
If everything is the same, I think that it is not necessary to upgrade.
@tanaka-jp Then still I have the issue as I have mentioned above. Please do tell me what I need to do to make it work properly.
You do indeed need to use the specified version of CoreNLP (3.7) see here: https://github.com/stanfordnlp/CoreNLP/issues/460
You will experience this error if you use 3.8
@comckay What is the reason? Why I cannot use the 3.8?
There is a known and acknowledged bug in the source code for that release. If you look at the referenced thread you will see the reporter says
I looked at the file PTBTokenizer.java, and looks like the output file is not being closed anywhere and apparently that is causing this exception.
The author has said he will fix what is currently on github so if you want bleeding edge you can download and compile from source. Otherwise, you can use the prebaked 3.7 release.
Here is the error.
Kindly, help me.