• by sharemywin on 12/28/2016, 9:40:49 PM

    Which one are you trying to accomplish?

    -Sentiment analysis

    -Syntactic analysis

    -Entity analysis

    Google Cloud Natural Language API Documentation Natural Language API Basics

    Contents Natural Language features Basic Natural Language requests Specifying text content Sentiment analysis

    This document provides a guide to the basics of using the Google Cloud Natural Language API. This conceptual guide covers the types of requests you can make to the Natural Language API, how to construct those requests, and how to handle their responses. We recommend that all users of the Natural Language API read this guide and one of the associated tutorials before diving into the API itself.

    Natural Language features

    The Natural Language API has several methods for performing analysis and annotation on your text. Each level of analysis provides valuable information for language understanding. These methods are listed below:

    Sentiment analysis inspects the given text and identifies the prevailing emotional opinion within the text, especially to determine a writer's attitude as positive, negative, or neutral. Sentiment analysis is performed through the analyzeSentiment method. Currently, only English is supported for sentiment analysis.

    Entity analysis inspects the given text for known entities (proper nouns such as public figures, landmarks, etc.) and returns information about those entities. Entity analysis is performed with the analyzeEntities method. Syntactic analysis extracts linguistic information, breaking up the given text into a series of sentences and tokens (generally, word boundaries), providing further analysis on those tokens. Syntactic Analysis is performed with the analyzeSyntax method.

  • by PaulHoule on 12/28/2016, 9:37:39 PM

    Check my Hacker news profile and send me an email.