public void annotate(int from, int to, String annotationClass, String key, Object value) {
        annotate(from, to,new AnnotationClass(annotationClass)).put(key, value);
    }
Sets a key/value pair for an annotation of a substring. If an annotation of the class
does not exist, a new is created.

A shortcut for annotate(from, to, annotationClass, key, value)

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