Hi,
I am using opennlp from jruby and I just downloaded the new 1.5.0 jar and this code preaks:
java_import Java::opennlp.tools.lang.english.SentenceDetector With this error:
cannot load Java class opennlp.tools.lang.english.SentenceDetector (NameError)
Has the namespace changed? I notice the models are prefixed with the language. Maybe the namespace no longer requires the language.
Thanks
Paul
I just downloaded the source and I can now see that things are in the opennlp.tools.sentdetect namespace.
Sorry if I wasted anybody's time.
Cheers
Log in to post a comment.
Hi,
I am using opennlp from jruby and I just downloaded the new 1.5.0 jar and this code preaks:
java_import Java::opennlp.tools.lang.english.SentenceDetector
With this error:
cannot load Java class opennlp.tools.lang.english.SentenceDetector (NameError)
Has the namespace changed? I notice the models are prefixed with the language. Maybe the namespace no longer requires the language.
Thanks
Paul
Hi,
I just downloaded the source and I can now see that things are in the opennlp.tools.sentdetect namespace.
Sorry if I wasted anybody's time.
Cheers
Paul