BLOCKS Reference

Block Reference

Machine Learning

Natural Language API (Sentiment Analysis)

This BLOCK calls upon the Google Cloud Language API Sentiment Analysis function to analyze text data. It detects 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 name Explanation
BLOCK name Designate a name for BLOCKS. The names will be displayed on the BLOCKS.
GCP service account Select the GCP service account for use with this BLOCK.
Text data variable Designate the variable that refers to the text data you would like to be analyzed for sentiment.
Results variable Designate the variable that will contain the results of the Sentiment Analysis.
BLOCK memos Make any comments regarding BLOCKS.