The code must load the model for English sentences, located in C:\Users\Zdravko\Documents\Job
Unfortunately, upon runtime I get this exception on the constructor line:
xception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: opennlp/maxent/DataStream
Could you give me any idea why? I would be grateful for any comments.
Thanks in advance!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I am using the OpenNLP library in my java project for sentence detection. I have this code:
The code must load the model for English sentences, located in C:\Users\Zdravko\Documents\Job
Unfortunately, upon runtime I get this exception on the constructor line:
Could you give me any idea why? I would be grateful for any comments.
Thanks in advance!
I got it. The problem is that I missed the maxent and trove jar libraries.