Setting feature value to the count of containing annotation in UIMA Ruta
问题 I've got a RUTA script where all the sentences have been annotated with a Sentence annotation and various words and phrases have been annotated with their own specific annotations. That all works as expected. Each one of those annotations has a feature for the index of the sentence that contains it. So in a contrived example and given the text Jack and Jill went up the hill. Jack fell down. I have a "down" annotation that I want set the sentence index to 2, indicating that it is in the second