AnnotateText Processor
Part of the GCP Natural Language processor family
This processor is a convenience-based processor that combines the capabilities of the AnalyzeSyntax, AnalyzeEntities, AnalyzeSentiment, 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.
Properties
All of our Natural Language processors also include these common properties.
This processor does not have any unique properties outside of the common ones.
Data Output
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
Last updated