On 5/8/2013 4:37 PM, Richard Eckart de Castilho wrote:
> The idea that one must remove a stock-UIMA jar and replace it with another 
> was something I always thought a bit… well… ugly.

Yes, I agree.  It's an opportunity for a better approach :-).

>
> That link also doesn't say how to add features to it. Probably by defining 
> the type in a XML. It seems a bit odd that section 5.5.3 (Impact of Type 
> Merging on Composability of Annotators) pledges against type merging when 
> 5.5.4 (Adding Features to DocumentAnnotation) says to use exactly that.

True. 5.5.4 therefore says how to make things work when you do this (remove the
stock-UIMA jar for DocumentAnnotation, and replace it with yours, if you are
intending to use the JCas with it).

-Marshall


Reply via email to