Hi Richard,

Thanks for the reply. I've checked the classpath again and it only shows
the referenced 1.6.0 libraries.

Though, when I initially faced the issue, one strategy I tried was to
reference the *opennlp-tools-1.5.0.jar* library. It didn't work, so I
removed it. None of the methods I've tried so far have given me a solid
answer, not even re-training the model using 1.6.0.

*> Maybe OpenNLP classes are included in some non-OpenNLP JAR as well that
you use in your project?*

Sorry, I'm personally not sure what you mean by this. Could you please
clarify?

Regards,
David

On Fri, Jan 13, 2017 at 3:14 PM, Richard Eckart de Castilho <r...@apache.org>
wrote:

> On 13.01.2017, at 02:51, David Samuel Lim <beitrik2...@gmail.com> wrote:
> >
> > *To sum up: Unable to load custom trained OpenNLP Name Finder model in
> code
> > due to apparent OpenNLP version incompatibility. Model was trained in
> > OpenNLP 1.6.0, which my project also uses. Other projects also using
> 1.6.0
> > were able to load the model successfully.*
>
> Maybe you have OpenNLP twice on the classpath for some reason, once in
> 1.5.3
> and once in 1.6.0. Maybe OpenNLP classes are included in some non-OpenNLP
> JAR
> as well that you use in your project?
>
> Cheers,
>
> -- Richard
>

Reply via email to