Skip navigation links

Package com.google.cloud.language.spi.v1

A client to Google Cloud Natural Language API.

See: Description

Package com.google.cloud.language.spi.v1 Description

A client to Google Cloud Natural Language API.

The interfaces provided are listed below, along with usage samples.

===================== LanguageServiceClient =====================

Service Description: Provides text analysis operations such as sentiment analysis and entity recognition.

Sample for LanguageServiceClient:

 
 try (LanguageServiceClient languageServiceClient = LanguageServiceClient.create()) {
   Document document = Document.newBuilder().build();
   AnalyzeSentimentResponse response = languageServiceClient.analyzeSentiment(document);
 }
 
 
Skip navigation links

Copyright © 2016 Google. All rights reserved.