Package | Description |
---|---|
com.yahoo.document.annotation |
Provides classes and interfaces for creating trees of spans over string
values in Vespa documents, and annotating these spans.
|
com.yahoo.document.serialization |
Modifier and Type | Class and Description |
---|---|
class |
AlternateSpanList
A node in a
SpanNode tree that can have a multiple trees of child nodes, each with its own probability. |
private class |
AlternateSpanList.Children |
Modifier and Type | Field and Description |
---|---|
private SpanList |
InvalidatingIterator.owner |
Modifier and Type | Method and Description |
---|---|
SpanList |
SpanList.add(SpanNode node)
Adds a child node to this SpanList.
|
SpanList |
SpanList.remove(int i)
Removes and invalidates the SpanNode at the given index from this.
|
SpanList |
SpanList.remove(SpanNode node)
Removes and invalidates the given SpanNode from this.
|
SpanList |
SpanTree.spanList()
Convenience shorthand for
(SpanList)getRoot() . |
Modifier and Type | Method and Description |
---|---|
void |
AlternateSpanList.move(int i,
int nodeNum,
SpanList target)
Moves a child of this SpanList to another SpanList.
|
void |
SpanList.move(int nodeNum,
SpanList target)
Moves a child of this SpanList to another SpanList.
|
void |
AlternateSpanList.move(int i,
SpanNode node,
SpanList target)
Moves a child of this SpanList to another SpanList.
|
void |
SpanList.move(SpanNode node,
SpanList target)
Moves a child of this SpanList to another SpanList.
|
Constructor and Description |
---|
InvalidatingIterator(SpanList owner,
ListIterator<SpanNode> base) |
SpanList(SpanList other)
Deep-copies a SpanList.
|
Modifier and Type | Method and Description |
---|---|
void |
VespaDocumentDeserializer42.read(SpanList spanList)
Deprecated.
|
void |
SpanNodeReader.read(SpanList spanList) |
void |
SpanNodeWriter.write(SpanList spanList) |
void |
VespaDocumentSerializer42.write(SpanList spanList)
Deprecated.
|
Copyright © 2017. All rights reserved.