Is your feature request related to a problem? Please describe.
Right now, in order to get the covered text, one has to call cas.get_covered_text(annotation). That is not nice and different from Java.
Describe the solution you'd like
Use annotation.get_covered_text()
Additional context
If the annotation is a feature structure, i.e. does not cover text, an exception should be thrown.
Is your feature request related to a problem? Please describe. Right now, in order to get the covered text, one has to call
cas.get_covered_text(annotation)
. That is not nice and different from Java.Describe the solution you'd like Use
annotation.get_covered_text()
Additional context If the annotation is a feature structure, i.e. does not cover text, an exception should be thrown.