BLOCKS Reference

Block Reference

Machine Learning

Text analysis (sentiment analysis)

This BLOCK calls on the Google Cloud Language API Sentiment Analysis function to analyze text for positivity or negativity and assigns a magnitude to express the level of each.

Note for Self-Service Plan users:
The Google Cloud Natural Language API must be enabled to use this BLOCK. For details, refer to Basic Guide > Hints > Enabling Google APIs

The sentiment analysis function is currently available for use with English, Spanish, and Japanese text only.

Property Explanation
BLOCK name Configure the name displayed on this BLOCK.
GCP service account Select the GCP service account to use with this BLOCK.
Text data variable Designate the variable that contains the text data to be analyzed for sentiment.
Results variable Designate the variable that will contain the results of the sentiment analysis.
BLOCK memos Make notes about this BLOCK.