Re: OpenNLP - Model version 1.6.0 not supported by this (1.5.3) version of OpenNLP

2017-01-15 Thread David Samuel Lim
Hello to everyone who has responded. I would like to thank you for your invaluable assistance. Because of your advice, I've gained a better insight into not just OpenNLP, but Java in general as well. I will continue to look deeper into this field. Once again I would like to thank William,

Re: OpenNLP - Model version 1.6.0 not supported by this (1.5.3) version of OpenNLP

2017-01-13 Thread Richard Eckart de Castilho
On 13.01.2017, at 11:41, David Samuel Lim wrote: > > After all that has said, I have a question: > > *Why is it that when the references to the OpenNLP 1.6.0 libraries are > removed, the program "reverts" back to OpenNLP 1.5.3, and how do I undo > this? (i.e. when I

Re: OpenNLP - Model version 1.6.0 not supported by this (1.5.3) version of OpenNLP

2017-01-13 Thread Richard Eckart de Castilho
On 13.01.2017, at 08:29, David Samuel Lim wrote: > > *> 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? Sometimes people create

Re: OpenNLP - Model version 1.6.0 not supported by this (1.5.3) version of OpenNLP

2017-01-13 Thread David Samuel Lim
Thank you William and Richard for your help and advice. I think I may have discovered something. My project also references Apache Tika - the *tika-app-1.13.jar *library. I'm not very well-versed in Tika, but it apparently has its own implementation of the OpenNLP files. How did I discover

Re: OpenNLP - Model version 1.6.0 not supported by this (1.5.3) version of OpenNLP

2017-01-13 Thread William Colen
Are you using Maven? 2017-01-13 5:32 GMT-02:00 David Samuel Lim : > Oops, I meant *opennlp-tools-1.5.3.jar*. My bad. > > On Fri, Jan 13, 2017 at 3:29 PM, David Samuel Lim > wrote: > > > Hi Richard, > > > > Thanks for the reply. I've checked the

OpenNLP - Model version 1.6.0 not supported by this (1.5.3) version of OpenNLP

2017-01-12 Thread David Samuel Lim
Hello, I am currently facing an issue with regards to loading a custom trained NER model. My project uses OpenNLP 1.6.0 and is developed using Eclipse IDE. The model was also trained using OpenNLP 1.6.0. However, when I try to load the model *InputStream* into a *TokenNameFinderModel* object, I