Hello,
we never updated the Spanish model for OpenNLP 1.5.
In order to use it, you either wrap it as a 1.5 model or you
use OpenNLP 1.4.
To wrap it take an English POS Model (that is just a zip, like a jar) and
replace the maxent model with the one from the website. The model
also contain a manifest this you should edit and change the language
to Spanish.
Now you are able to load it with 1.5.
Jörn
On 03/23/2012 12:55 PM, Francisco Carrillo Carrillo wrote:
Hello. I'm a spanish student and use opennlp for my final degree
project. I use the 1.5.0 version of opennlp and the Spanish POS Tagger
model. But when I execute the POSTagger with the model, there is a
error. You can see the error in the image attacched with this email.
If you can see the image, you must click this link.
http://img9.imageshack.us/img9/2068/postagger.png
I downloaded the spanish model for POS Tagger from here.
http://opennlp.sourceforge.net/models/
I think that the problem is the incompatibility between the program
versión and the model, but I don't know. Somebody can help me, please?
Thank you and sorry for my bad english.