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.

This BLOCK is currently in beta. Be aware that the beta version of this BLOCK will become unavailable post official release.
*Please make use of the official BLOCK once released.

Due to its nature as a beta release, there is the possibility that some functions may not execute properly. We appreciate feedback from users, through the BLOCKS Forum or direct contact, regarding bugs or ways to improve BLOCKS.

warning 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.