Hello, thanks for catching this, it will be fixed in under this jira: https://issues.apache.org/jira/browse/OPENNLP-374
Jörn On 11/15/11 1:20 AM, Ben Rhelp wrote:
Hi, In the documentation: http://incubator.apache.org/opennlp/documentation/manual/opennlp.html#tools.namefind.recognition.api I think the example should be as follows (String->String[] and "years"->"years",) String[] sentence = new String[]{ "Pierre", "Vinken", "is", "61", "years", "old", "." }; In http://incubator.apache.org/opennlp/documentation/manual/opennlp.html#tools.tokenizer.api Tokenizer tokenizer = new TokenizerME(model); should be TokenizerME tokenizer = new TokenizerME(model); regards, Ben