简体   繁体   中英

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.

UIMA Annotators在CASes上运行,如果要处理字符串,请将字符串添加到CAS的doctext字段中,并在其上执行do NLP。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM