stanfordnlp / CoreNLP

CoreNLP: A Java suite of core NLP tools for tokenization, sentence segmentation, NER, parsing, coreference, sentiment analysis, etc.
http://stanfordnlp.github.io/CoreNLP/
GNU General Public License v3.0
9.68k stars 2.7k forks source link

Truecaser not running because of missing Java class #59

Closed ghpaetzold closed 9 years ago

ghpaetzold commented 9 years ago

Hello,

I am trying to use Stanford Core NLP for an EAMT funded project which is being implemented in Java, and we would love to use the tool's truecasing functionality. However, It seems that the whenever we try to run the truecasing annotator, we get the following error:

Caused by: java.lang.ClassNotFoundException: edu.stanford.nlp.sequences.TrueCasingForNISTDocumentReaderAndWriter

It seems like this is a very old problem which had been solved in the past but is now back in the newest versions. Is there any way it can be fixed?

Thanks in advance.

AngledLuffa commented 9 years ago

Good question. It was moved to a different subdirectory in our system which isn't picked up for release. I'm not sure why, and this breaks the truecase annotator.

On Fri, Feb 20, 2015 at 3:24 AM, ghpaetzold notifications@github.com wrote:

Hello,

I am trying to use Stanford Core NLP for an EAMT funded project which is being implemented in Java, and we would love to use the tool's truecasing functionality. However, It seems that the whenever we try to run the truecasing annotator, we get the following error:

Caused by: java.lang.ClassNotFoundException: edu.stanford.nlp.sequences.TrueCasingForNISTDocumentReaderAndWriter

It seems like this is a very old problem which had been solved in the past but is now back in the newest versions. Is there any way it can be fixed?

Thanks in advance.

— Reply to this email directly or view it on GitHub https://github.com/stanfordnlp/CoreNLP/issues/59.

bradserbu commented 9 years ago

Agreed. I'm having the same issue on 3.5.1

hans commented 9 years ago

Thanks for reporting the problem.

I've moved TrueCasingForNISTDocumentReaderAndWriter back into the code repository (92ca767b).

Let me know if using this class fixes your issues. This will be included in the next release.

erip commented 9 years ago

@ghpaetzold Is this resolved?

ghpaetzold commented 9 years ago

@erip It seems to be :) Thanks!

manning commented 9 years ago

Yes, this was fixed in v.3.5.2 ... but not closed.