Uses of Class
com.yahoo.text.interpretation.Span
-
Packages that use Span Package Description com.yahoo.text.interpretation Models a set of hierarchical annotations (typically produced by QLAS) of a natural language string. -
-
Uses of Span in com.yahoo.text.interpretation
Methods in com.yahoo.text.interpretation that return Span Modifier and Type Method Description Span
Annotations. getSpan()
The span that this annotation is for.Span
Interpretation. root()
Returns the root of the tree representation of the interpretationMethods in com.yahoo.text.interpretation that return types with arguments of type Span Modifier and Type Method Description java.util.List<Span>
Span. getSubSpans()
Returns all spans that are directly childrens of this span.java.util.List<Span>
Interpretation. getTermSpans(java.lang.String term)
Returns all spans that consists of the term given.java.util.List<Span>
Span. getTermSpans(java.lang.String term)
Returns all spans, either this or any of the spans that are inherits this span that match the given termjava.util.List<Span>
Interpretation. getTokens()
Gets the lowermost spans (usually the spans marked with token).java.util.List<Span>
Span. getTokens()
Returns an unmodifiable list of all spans below this span that is a leaf nodeConstructors in com.yahoo.text.interpretation with parameters of type Span Constructor Description Annotations(Span span)
-