Hi All

I'm using the binary of the last release of Apache OpenNLP (1.5.3.)

I trained (sentence, token, pos and chunk) models from the command
line. Both are working when using with the command line.

I have tested to use the models wrapped in UIMA components. It works
fine with the sentence, token and pos-tagger models but gives me the
following exception with the chunker model.

java.lang.IllegalArgumentException:
opennlp.tools.util.InvalidFormatException: Model version
1.5.3-SNAPSHOT is a snapshot - snapshot models are not supported by
this non-snapshot version (1.5.3) of OpenNLP!

I ve checked my path, I am not using by mistake an old version.

Has someone already tested the uima wrappers and descriptors ?
Is there an easy way to check the model version of a model file ?
How (where in the code) can I change that ?

Thanks for your answers

Best

/Nicolas

Reply via email to