Skip navigation links

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


A client to Cloud Natural Language API.

See: Description

Package Description

A client to 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();
   EncodingType encodingType = EncodingType.NONE;
   AnalyzeSentimentResponse response = languageServiceClient.analyzeSentiment(document, encodingType);
Skip navigation links

Copyright © 2019 Google LLC. All rights reserved.