Hi,
I am using opennlp-tool-1.6.0.
For training my model i m using

model = NameFinderME.train("en", "person", sampleStream,
TrainingParameters.defaultParams(),
    null, Collections.<String, Object>emptyMap());

For this i am getting below Error:
The method train(String, String, ObjectStream<NameSample>,
TrainingParameters, AdaptiveFeatureGenerator, Map<String,Object>) is
ambiguous for the type NameFinderME

Please help me out.

2. Please tell me how to set cutoff so than i can train my model which have
n-gram frequency=1. I mean how to set cutoff with the train API.

Thanks alot...!!!

Reply via email to