The Google Cloud Language API
Google’s Cloud Language API includes language translation and NLP. The Cloud Translation API allows you to detect a language and translate it to another one, thus you only need to specify a target language since it detects the source language automatically. NLP allows you to uncover the structure and the meaning of the input text. It provides an interface for developers or computer programs to send requests and get responses.
Google’s NLP API has several methods to perform text analysis and annotations:
- Sentiment analysis: Inspects the given text and attempts to determine the overall attitude expressed within the text, such as positive, negative, or neutral. Sentiment analysis is performed through the
analyzeSentiment
method. The sentiment analysis response fields consist of the following:- Document sentiment contains the overall sentiment of the document, which consists of a score of the sentiment ranging between
-1.0
(negative...
- Document sentiment contains the overall sentiment of the document, which consists of a score of the sentiment ranging between