AnnotateText Processor
Part of the GCP Natural Language processor family
Last updated
Was this helpful?
Part of the GCP Natural Language processor family
Last updated
Was this helpful?
This processor is a convenience-based processor that combines the capabilities of the , , , and ClassifyText processors into one unit.
Both the entities and sentences returned from this processor will have a sentiment attached them.
The output of this processor can easily grow to be incredibly large, especially with large pieces of text. Unless you're actually looking for all of this information at once, consider using the processors with a more granular scope.
This processor does not have any unique properties outside of the common ones.
Field Name
Data Type
Description
sentences
array of Sentence
The list of sentences found by the API
entities
array of Entity
The list of entities found by the API
categories
array of Category
The list of categories found by the API
tokens
array of Token
The list of tokens found by the API
overallSentiment
Sentiment
The sentiment of the text as a whole
language
string
The language code of the language the input string is in
Field Name
Data Type
Description
aspect
string ()
The characteristic of a verb that expresses time flow during an event
case
string ()
The grammatical function performed by a noun or pronoun in a phrase, clause, or sentence
form
string ()
Depending on the language, Form can be categorizing different forms of verbs, adjectives, adverbs, etcetera
gender
string ()
Gender classes of nouns reflected in the behavior of associated words
mood
string ()
The grammatical feature of verbs, used for showing modality and attitude
number
string ()
Count distinctions
person
string ()
The distinction between the speaker, second person, third person, etcetera
proper
string ()
Distinguishes if the token is part of a proper name
reciprocity
string ()
Reciprocal features of a pronoun
tag
string ()
A shorthand-tag for what part of speech the token is
tense
string ()
Time reference
voice
string ()
The relationship between the action that a verb expresses and the participants identified by its arguments
Field Name
Data Type
Description
name
string
The name of the category. A list of all possible category names can be
confidence
float
How confident the API is in its response