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
StanfordCoreNlp object hangs when loading NER classifiers #54
Comments
Just did a comparison on tests projects - I do not see such issue
|
I also have this problem. When I do not load NER annotator, everything works fine. When I only load NER, memory use caps at about 500MB, then nothing happens, and the program hangs. I'm using the nuget package Stanford.NLP.CoreNLP 3.9.1.0 in C#, for net45, in x64. Accessorilly, the package Nuget Stanford.NLP.NER works fine but unfortunately it does not provide the same flexibility as the corenlp pipeline. Here is the subtree provided by the profiler from the moment we instantiate the StanfordCoreNLP object:
|
To provide some additional information, it also hangs when I instantiate an NERCombinerAnnotator, with the following code.
One other question is that the program goes into setUpFineGrainedNER even though I put The following subtree is captured in the profiler:
|
Close as an old issue |
This is quite odd. If I compile my project as 32-bit, it loads the classifiers just fine and everything works.
If I compile the project as 64-bit it starts loading all the NER classifiers and and then hangs on the english.4class.conll.distsim.crf.ser.gz model. Loading the models before that are really slow on 64-bit, but it never finishes loading the conll model (I've left it running for 30+ min)
Does anyone have any idea why this would happen on 64-bit only ?
The text was updated successfully, but these errors were encountered: