Hi William,

First of all thanks for the prompt reply, however I am using the API not the cmd tool...
where do I pass that properties file?

Jim


On 05/10/12 16:20, William Colen wrote:
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