Skip navigation links

@Generated(value="by gapic-generator")

Package com.google.cloud.language.v1beta2

A client to Google Cloud Natural Language API.

See: Description

Package com.google.cloud.language.v1beta2 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 © 2019 Google LLC. All rights reserved.