dtarockers
dtarockers

Reputation: 45

How to run annotator in UIMA

I am using tutorial to run an opennlp annotator using UIMA by following link and created the annotator using the link. As I run the annotator it gives me error of-

Description Resource Path Location Type The method runAE(AnalysisEngine, String, String, JCas) in the type UimaUtils is not applicable for the arguments (AnalysisEngine, String, String) NounPhraseTestor.java /NounPhrase/src/org/apache/uima/tutorial line 23 Java Problem

Infact i created the runAE in UimaUtils .Java still facing the error in runtime.

Upvotes: 0

Views: 159

Answers (1)

asm
asm

Reputation: 13

UIMA Annotators operates on CASes, if you want to process the string, add the string to doctext field of CAS and the do NLP on it.

Upvotes: 0

Related Questions