Package com.yahoo.document.annotation
@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.
-
ClassDescriptionA node in a
SpanNode
tree that can have a multiple trees of child nodes, each with its own probability.An Annotation describes some kind of information associated with aSpanNode
.A FieldValue which holds a reference to an annotation of a specified type.A data type describing a field value having a reference to an annotation of a given type.An AnnotationType describes a certain type of annotations; they are generally distinguished by a name, an id, and an optional data type.A registry of annotation types.This is a container for allAnnotation
s constants used by built-in Vespa features.This class represents a range of characters from a string. This is the leaf node in a Span tree.A node in a Span tree that can have child nodes.Base class of nodes in a Span tree.An interface to be implemented by classes that can be parents of SpanNodes.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.This is a container for allSpanTree
s constants used by built-in Vespa features.