Closed GoogleCodeExporter closed 8 years ago
Added createDependencyAndBind() method to take care of this. Example of how to
configure an OpenNLP compoenent which this:
AnalysisEngineDescription tokenizer = createPrimitiveDescription(Tokenizer.class,
UimaUtil.TOKEN_TYPE_PARAMETER, Token.class.getName(),
UimaUtil.SENTENCE_TYPE_PARAMETER, Sentence.class.getName());
createDependencyAndBind(tokenizer, UimaUtil.MODEL_PARAMETER,
TokenizerModelResourceImpl.class,
"http://opennlp.sourceforge.net/models-1.5/en-token.bin");
Original comment by richard.eckart
on 17 Apr 2011 at 4:26
Original issue reported on code.google.com by
richard.eckart
on 17 Apr 2011 at 4:22