Yes, you can. Just create a properties file like follows

Threads=8
Iterations=100
Algorithm=PERCEPTRON
Cutoff=0

and train passing the properties file in the argument -params

Note that perceptron models benefit from cutoff 0. For Maxent models
usually you set something like 5. I usually try different values with the
CV tool to find the best cutoff value.

Regards
William

On Fri, Oct 5, 2012 at 11:59 AM, Jim foo.bar <[email protected]> wrote:

> Hi all,
>
> is it at all possible to train a  name-finder using perceptron instead of
> maxent? The documentation says that openNLP supports both but I can only
> find examples for pos-tagging and nothing else (sentence detection ,NER,
> chunking etc etc)...
>
> thanks in advance...
>
> Jim
>

Reply via email to