Hi,

On 9/9/2010 01:00, Jim Hargrave wrote:
> I apologize if my terminology doesn't match with normal UIMA usage - but 
> hopefully the general idea will be understandable.
> 
> Is it always assumed that UIMA's document text is immutable? 

yes.

> Let's say you have some text and with several position-based annotations. The 
> text changes, now all of your annotation positions are incorrect. Are there 
> API's that allow you to change your text, but still preserve the offsets in 
> your annotations?

There is no built-in support for this sort of thing in UIMA.
It would be easy to do after UIMA analysis has finished, but
I imagine you want to modify the text during analysis.  That
is not possible because UIMA subjects of analysis are
immutable.

If you give us more details, we may have some ideas about
different approaches to the issue.

--Thilo

> 
> Jim
> 
> 
>  NOTICE: This email message is for the sole use of the intended recipient(s) 
> and may contain confidential and privileged information. Any unauthorized 
> review, use, disclosure or distribution is prohibited. If you are not the 
> intended recipient, please contact the sender by reply email and destroy all 
> copies of the original message.
> 
> 
> 

Reply via email to