Module | Services | Data types | Constants |
---|---|---|---|
base | BaseService |
AnnotationFailedException Clustering Forest Labeling Node Relation ServiceSecurityException ServiceUnavailableException Source Span Text Tree View |
|
Base type: string
Base type: string
Field | Type | Description | Requiredness | Default value |
---|---|---|---|---|
start | i32 | start index of span in the raw text (inclusive). | required | |
ending | i32 | ending index of span in the raw text (exclusive). | required | |
label | string | label for span. | optional | |
score | double | score of span. | optional | |
source | Source | source of span. | optional | |
attributes | map< | any additional attributes assoicated with this span. | optional | |
multiIndex | i32 | index of the text (in the multirecord) to which this span references. | optional |
start
- start index of span in the raw text (inclusive).ending
- end index of span in the raw text (exclusive).label
- label for span.score
- score of span.source
- the source annotator of this span.attributes
- any additional attributes assoicated with this span. a map of attribute_name => value.multiIndex
- if associated with a MultiRecord which Record object is this span for.
Field | Type | Description | Requiredness | Default value |
---|---|---|---|---|
labels | list< | the labels as spans. | required | |
source | Source | the source of this labeling came from. | optional | |
score | double | score for this labeling. | optional | |
rawText | string | the raw text for this labeling (if null then consult the labeling's parent's rawText field) | optional |
labels
- the labels for this labeling. Each label represented as a Span.source
- the source annotator this labeling came from.score
- the score for this labeling.rawText
- the raw text for this labeling (if null then consult the labeling's parent's rawText field, i.e., the Record's)
Field | Type | Description | Requiredness | Default value |
---|---|---|---|---|
clusters | list< | the clusters, each cluster is a Labeling. | required | |
source | Source | the source of this Clustering | optional | |
score | double | score for this clustering | optional | |
rawText | string | the raw text for this clustering (if null then consult the clustering's parent's rawText field) | optional |
clusters
- the clusters for the this clustering. Each cluster represented as a Labeling.source
- the source annotator this clustering came from.score
- the score for this clustering.rawText
- the raw text for this clustering (if null then consult the labeling's parent's rawText field, i.e., the Record's)
Field | Type | Description | Requiredness | Default value |
---|---|---|---|---|
label | string | the label of the node. | required | |
span | Span | the span this node covers. | optional | |
children | map< | the children of the node represented as a map of | optional | |
source | Source | source of the node . | optional | |
score | double | the score for this node. | optional |
label
- the label for this Node.span
- the span this node covers.children
- the children of the node represented as a map of source
- the source annotator this node came from.score
- the score for this node.Field | Type | Description | Requiredness | Default value |
---|---|---|---|---|
nodes | list< | list of labeled nodes. | required | |
top | i32 | the index of top/root node in nodes. | required | |
source | Source | the source of this tree. | optional | |
score | double | the score of this tree. | optional |
nodes
- the list of labeled nodes. top
- the index in nodes of the top node. source
- the source annotator this Tree came from.score
- the score for this Tree.
Field | Type | Description | Requiredness | Default value |
---|---|---|---|---|
trees | list< | the trees in this Forest | required | |
rawText | string | the raw text for this Forest (if null then consult the tree's parent's rawText field) | optional | |
source | Source | the source of this Forest | optional |
trees
- the trees for the this forest.source
- the source annotator this forest came from.score
- the score for this forest.rawText
- the raw text for this forest (if null then consult the labeling's parent's rawText field, i.e., the Record's)
Field | Type | Description | Requiredness | Default value |
---|---|---|---|---|
start | i32 | required | ||
ending | i32 | required | ||
label | string | optional | ||
source | Source | optional | ||
score | double | optional |
start
- the index of the span that starts this relation.ending
- the index of the span that ends this relation.label
- the label for this relation.source
- where this relation came from.score
- the score for this relation.Field | Type | Description | Requiredness | Default value |
---|---|---|---|---|
spans | list< | required | ||
relations | list< | required | ||
rawText | string | optional | ||
source | Source | optional | ||
score | double | optional |
spans
- the spans of for this view.relations
- the relations of this view.source
- the source annotator this view came from.score
- the score for this view.rawText
- the raw text for this view (if null then consult the labeling's parent's rawText field, i.e., the Record's)
Field | Type | Description | Requiredness | Default value |
---|---|---|---|---|
reason | string | default |
Field | Type | Description | Requiredness | Default value |
---|---|---|---|---|
reason | string | default |
Field | Type | Description | Requiredness | Default value |
---|---|---|---|---|
reason | string | default |
bool
ping()
Ping? Pong! return True!
string
getName()
Return the name of this service.
string
getVersion()
Return the version of this service.
string
getSourceIdentifier()
Return the an identifier to be used in source fields. This should be of the form