@ExportPackage @PublicApi
Package com.yahoo.document.annotation
Provides classes and interfaces for creating trees of spans over string
values in Vespa documents, and annotating these spans.
-
Interface Summary Interface Description SpanNodeParent An interface to be implemented by classes that can be parents of SpanNodes. -
Class Summary Class Description AlternateSpanList A node in aSpanNode
tree that can have a multiple trees of child nodes, each with its own probability.Annotation An Annotation describes some kind of information associated with aSpanNode
.AnnotationReference A FieldValue which holds a reference to an annotation of a specified type.AnnotationReferenceDataType A data type describing a field value having a reference to an annotation of a given type.AnnotationType An AnnotationType describes a certain type of annotations; they are generally distinguished by a name, an id, and an optional data type.AnnotationType2AnnotationContainer AnnotationTypeRegistry A registry of annotation types. This can be set up programmatically or from config.AnnotationTypes This is a container for allAnnotation
s constants used by built-in Vespa features.ListAnnotationContainer SerialIterator Span This class represents a range of characters from a string. This is the leaf node in a Span tree.SpanList A node in a Span tree that can have child nodes.SpanNode Base class of nodes in a Span tree.SpanTree A SpanTree holds a root node of a tree of SpanNodes, and a List of Annotations pointing to these nodes or each other. It also has a name.SpanTrees This is a container for allSpanTree
s constants used by built-in Vespa features. -
Enum Summary Enum Description SpanTree.IndexKey