public Annotations annotate(int from, int to, String annotationClass) {
        return annotate(from,to,new AnnotationClass(annotationClass));
    }
Returns the annotation with the given annotationClass (and create it if necessary).

@param from start of the substring
@param to end of the substring
@param annotationClass  class of the annotation
container-search/src/main/java/com/yahoo/text/interpretation/Interpretation.java