@Generated(value="by gapic-generator")
See: Description
| Class | Description |
|---|---|
| LanguageServiceClient |
Service Description: Provides text analysis operations such as sentiment analysis and entity
recognition.
|
| LanguageServiceSettings |
Settings class to configure an instance of
LanguageServiceClient. |
| LanguageServiceSettings.Builder |
Builder for LanguageServiceSettings.
|
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);
}
Copyright © 2019 Google LLC. All rights reserved.