opennlp-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Samuel Lim <beitrik2...@gmail.com>
Subject Re: OpenNLP - Model version 1.6.0 not supported by this (1.5.3) version of OpenNLP
Date Fri, 13 Jan 2017 10:45:44 GMT
Hi William,

I am not using Maven.

Regards,
David

On Fri, Jan 13, 2017 at 6:39 PM, William Colen <william.colen@gmail.com>
wrote:

> Are you using Maven?
>
>
> 2017-01-13 5:32 GMT-02:00 David Samuel Lim <beitrik2014@gmail.com>:
>
> > Oops, I meant *opennlp-tools-1.5.3.jar*. My bad.
> >
> > On Fri, Jan 13, 2017 at 3:29 PM, David Samuel Lim <beitrik2014@gmail.com
> >
> > wrote:
> >
> > > 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 <
> > > rec@apache.org> wrote:
> > >
> > >> On 13.01.2017, at 02:51, David Samuel Lim <beitrik2014@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
> > >>
> > >
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message