1) How do I change the original message based on annotations in UIMA. For example, lets say I have the string: 201301012345
That contains both the date and time. I want to have an annotator that will find such things in the text and add a space between them so it becomes: 2030101 2345 What's the easiest way to modify the text in this instance? Also, let's say I have the sentence: See Spot run far down Main Street. and I have an annotator that that finds and labels main street as a street name. Now I want to make an annotator that, if it finds a street name annotation, to change that street name into something else, like River Blvd. So the above sentence would be: See Spot run far down River Blvd. What's the easiest way to do this? Will I, afterwards, have to resend the CAS through the pipeline again or is there an easy way to update all annotations that would be affected by the change since River Blvd is shorter than Main Street? Thanks in advance.
