public Set<AnnotationClass> getClasses(int from,int to) {
        return rootSpan.getClasses(from,to);
    }
Gets all annotationclasses that describe a substring
container-search/src/main/java/com/yahoo/text/interpretation/Interpretation.java