public Set<AnnotationClass> getClasses() {
        return rootSpan.getClasses();
    }
Gets all the annotationclasses that describes the text.
container-search/src/main/java/com/yahoo/text/interpretation/Interpretation.java