public static final class LanguageServiceGrpc.LanguageServiceBlockingStub extends io.grpc.stub.AbstractStub<LanguageServiceGrpc.LanguageServiceBlockingStub>
Provides text analysis operations such as sentiment analysis and entity recognition.
| Modifier and Type | Method and Description |
|---|---|
AnalyzeEntitiesResponse |
analyzeEntities(AnalyzeEntitiesRequest request)
Finds named entities (currently finds proper names) in the text,
entity types, salience, mentions for each entity, and other properties.
|
AnalyzeSentimentResponse |
analyzeSentiment(AnalyzeSentimentRequest request)
Analyzes the sentiment of the provided text.
|
AnalyzeSyntaxResponse |
analyzeSyntax(AnalyzeSyntaxRequest request)
Analyzes the syntax of the text and provides sentence boundaries and
tokenization along with part of speech tags, dependency trees, and other
properties.
|
AnnotateTextResponse |
annotateText(AnnotateTextRequest request)
A convenience method that provides all the features that analyzeSentiment,
analyzeEntities, and analyzeSyntax provide in one call.
|
protected LanguageServiceGrpc.LanguageServiceBlockingStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
protected LanguageServiceGrpc.LanguageServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<LanguageServiceGrpc.LanguageServiceBlockingStub>public AnalyzeSentimentResponse analyzeSentiment(AnalyzeSentimentRequest request)
Analyzes the sentiment of the provided text.
public AnalyzeEntitiesResponse analyzeEntities(AnalyzeEntitiesRequest request)
Finds named entities (currently finds proper names) in the text, entity types, salience, mentions for each entity, and other properties.
public AnalyzeSyntaxResponse analyzeSyntax(AnalyzeSyntaxRequest request)
Analyzes the syntax of the text and provides sentence boundaries and tokenization along with part of speech tags, dependency trees, and other properties.
public AnnotateTextResponse annotateText(AnnotateTextRequest request)
A convenience method that provides all the features that analyzeSentiment, analyzeEntities, and analyzeSyntax provide in one call.