Using Apache UIMA Ruta from my own annotator -


i have series of uima ruta rules wish run within own uima annotator. described here, can't work: http://uima.apache.org/d/ruta-current/tools.ruta.book.html#ugr.tools.ruta.integration

when try run annotator (from within junit test, have used other uima annotators in past), error telling me 1 of ruta basic annotation types (org.apache.uima.ruta.type.tokenseed) used in java code isn't defined in xml.

i've added absolute path ruta type system (basictypesystem.xml , internaltypesystem.xml) descriptorpaths parameter (as detailed here: http://uima.apache.org/d/ruta-current/tools.ruta.book.html#ugr.tools.ruta.ae.basic.parameter.descriptorpaths), doesn't seem make difference.

i've had through ruta source code , couldn't figure out going wrong.

has got ruta script run within uima annotator? how did manage working?

the problem caused fact type system used analysis engine not contain types uima ruta needs. error mentions seeding types because initial annotations added @ beginning. without seeding, more errors occur because of missing types rutabasic.

adding basictypesystem type system used in analysis engine should solve problem.


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

How to get multiresult with multicondition in Sql Server -