There are also examples of training via API:

https://opennlp.apache.org/docs/1.9.1/manual/opennlp.html#tools.lemmatizer.training.api

The example PerceptronTrainer can be found here:

https://github.com/apache/opennlp/blob/master/opennlp-tools/lang/ml/PerceptronTrainerParams.txt

You can also find an already trained lemmatizer (trained with general
news text) for Spanish here:

http://ixa2.si.ehu.es/ixa-pipes/

R

On Tue, 9 Jul 2019 at 21:49, T. Kuro Kurosaka <[email protected]> wrote:
>
> Thank you.
>
> Where can I find a sample parameter files, or a syntax of the parameter file?
>
> The training instructions only tells us a command line sample
>
> $ opennlp LemmatizerTrainerME -model en-lemmatizer.bin -params 
> PerceptronTrainerParams.txt -lang en -data en-lemmatizer.train -encoding UTF-8
>
>
> Kuro
>
>

Reply via email to