public void put(String key,Object o) {
        if (annotations == null) {
            annotations = new HashMap<>();
        }
        annotations.put(key,o);
    }
Adds an annotation to the the the set of annotations.
container-search/src/main/java/com/yahoo/text/interpretation/Annotations.java