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

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

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