Uses of Class
com.yahoo.text.interpretation.Span
Package
Description
Models a set of hierarchical annotations (typically produced by QLAS) of a natural language string.
-
Uses of Span in com.yahoo.text.interpretation
Modifier and TypeMethodDescriptionAnnotations.getSpan()
The span that this annotation is for.Interpretation.root()
Returns the root of the tree representation of the interpretationModifier and TypeMethodDescriptionSpan.getSubSpans()
Returns all spans that are directly childrens of this span.Interpretation.getTermSpans
(String term) Returns all spans that consists of the term given.Span.getTermSpans
(String term) Returns all spans, either this or any of the spans that are inherits this span that match the given termInterpretation.getTokens()
Gets the lowermost spans (usually the spans marked with token).Span.getTokens()
Returns an unmodifiable list of all spans below this span that is a leaf node