aaa ok found the class...I was looking at an older version of NameFinderME which did not have that method...

as far as concurency is concerned I don't really mind...I am just trying to compare the 2 models...

Jim


On 05/10/12 16:43, Jörn Kottmann wrote:
The perceptron training can only use one thread and
ignores the Threads parameter.

Threads is currently only supported by maxent gis training.

Jörn

On 10/05/2012 05:20 PM, 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