Re: newbie questions about UIMA Types

2016-12-01 Thread Marshall Schor
Here's how I think about UIMA types, versus rich data structures available in modern programming languages. UIMA was designed to facilitate combining more-or-less independently developed components (Annotators). How each primitive annotator is programmed, internally, is invisible to UIMA - the a

Re: newbie questions about UIMA Types

2016-12-01 Thread David Fox
Thanks for the detailed reply and examples. I¹ve got some tangentially related questions about types in UIMA C++, which I hope that either you or someone else can answer: If you need to use a custom Type in an annotator written with the UIMA C++ SDK, 1) do you need to define a corresponding cus

Re: newbie questions about UIMA Types

2016-11-30 Thread Richard Eckart de Castilho
It is possible to customize the generated JCas classes, yes. You can e.g. add own methods or even own fields. However, own fields would not be saved/loaded when you persist a CAS e.g. to XMI. As a case for a custom method, consider e.g. the DKPro Core Token "setText(string)" method [1]. If the

newbie questions about UIMA Types

2016-11-30 Thread David Fox
Does the UIMA Java framework support modifying or extend the java class generated by JCasGen corresponding to a custom Type? If so, are there any common circumstances where this is necessary? I didn’t see anything in the examples or documentation about modifying the generated classes, but I a