Google Text Analytics Variables
(Available from version 7.2 onwards.)
Google Text Analytics response variables are used to capture the response from Google Text Analytics methods. Many of the properties of these variables include subtypes.
A complex variable is also needed to store your Google client credentials.
For instructions on how to create a complex variable, see here.
Google Text Analytics Response Variables
Stores the response provided for a single entity returned by the methods Google Entity Recognition and Google Entity Sentiment Analysis.
Properties
Property |
Input Type |
Description |
---|---|---|
Entities |
List of Google Entity |
Information on each of the entities identified in text |
Language |
Text |
The code of the language identified in the text |
Result in JSON |
Text |
The full response from Google Text Analytics in JSON format |
Stores the response returned by the method Google Sentiment Analysis.
Properties
Property |
Input Type |
Description |
---|---|---|
Language | Text | The code of the language identified in the text |
Result in JSON |
Text |
The full response from Google Text Analytics in JSON format |
Sentences |
List of Google Sentence |
Information on the sentences extracted from the text |
Sentiment | Google Sentiment | Information on the overall sentiment of the text |
Stores the response returned by the method Google Content Classification.
Properties
Property |
Input Type |
Description |
---|---|---|
Categories |
Information on the categories assigned to the text |
|
Result in JSON |
Text |
The full response from Google Text Analytics in JSON format |
Google Client Credential Variable
Stores the client information required when submitting a request to Google Text Analytics.
Properties
Property |
Input Type |
Description |
---|---|---|
Key | Text | Your API key for the Google Text Analytics service |
Endpoint | Text | Your end point for the Google Text Analytics service |
Timeout | Number | After how long the request to Google Text Analytics should be timed out, in seconds |
Google Text Analytics Response Variable Subtypes
Information on one entity identified in a text
Properties
Property |
Input Type |
Description |
---|---|---|
Entity Mentions | List of Entity Mention | Information on each of the mentions of the entity within the text |
Entity Sentiment | Google Sentiment | Information on the sentiment expressed about the entity within the text |
Entity Type |
Text |
The entity's type, for example PERSON or LOCATION |
Name |
Text |
The name of the entity |
Salience | Decimal | A measure of how relevant the entity is to the overall text (0 - Low, 1 - High) |
Information on one mention of an entity in a text
Properties
Property |
Input Type |
Description |
---|---|---|
Entity Mention Sentiment | Google Sentiment | Information on the sentiment expressed about the entity in the particular mention of the entity |
Entity Mention Type | Text | The type of entity mention, either PROPER (proper noun), COMMON (common noun), or UNKNOWN |
Text Span | Google Text Span | Information on the sentence in which the entity was mentioned |
Information on the sentiment expressed and on the entity itself.
Properties
Property |
Input Type |
Description |
---|---|---|
Entity Mentions | List of Entity Mention | Information on each of the mentions of the entity within the text |
Entity Sentiment | Google Sentiment | Information on the sentiment expressed about the entity within the text |
Entity Type |
Text |
The entity's type, for example PERSON or LOCATION |
Name |
Text |
The name of the entity |
Salience | Decimal | A measure of how relevant the entity is to the overall text (0 - Low, 1 - High) |
Information on one sentence in a text
Properties
Property |
Input Type |
Description |
---|---|---|
Sentence Sentiment | Google Sentiment | Information on the sentiment of the sentence |
Text Span | Google Text Span | The text of the sentence and its location in a text |
Information on the sentiment expressed
Properties
Property |
Input Type |
Description |
---|---|---|
Magnitude | Decimal | Indicates how much emotional content is expressed, where a higher value indicates more emotional content |
Score | Decimal | Indicates whether the sentiment expressed is positive (closer to 1), negative (closer to -1), or neutral (closer to 0) |