Class PredicateTreeAnnotator

    • Method Detail

      • createPredicateTreeAnnotations

        public static PredicateTreeAnnotations createPredicateTreeAnnotations​(com.yahoo.document.predicate.Predicate predicate)
        Labels the predicate tree by constructing an interval mapping for each predicate node in the tree.
        Parameters:
        predicate - The predicate tree.
        Returns:
        Returns a result object containing the interval mapping and the min-feature value.