Re: Adding methods to UIMA annotation types defined in XML

2019-11-14 Thread Richard Eckart de Castilho
Sure. You generate the JCas classes once and then you add the methods you want to them. Cf. e.g.

Adding methods to UIMA annotation types defined in XML

2019-11-14 Thread Alain Désilets
One of the things that drives me nuts about the UIMA type definition system is that it seems very hard (if not impossible?) to create new types of annotation that have additional methods. My approach to dealing with that has been to wrap the annotation into a wrapper class that decorates the