DocumentsResource class

Constructors

DocumentsResource(ApiRequester client)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

analyzeEntities(AnalyzeEntitiesRequest request, {String? $fields}) Future<AnalyzeEntitiesResponse>
Finds named entities (currently proper names and common nouns) in the text along with entity types, salience, mentions for each entity, and other properties.
analyzeEntitySentiment(AnalyzeEntitySentimentRequest request, {String? $fields}) Future<AnalyzeEntitySentimentResponse>
Finds entities, similar to AnalyzeEntities in the text and analyzes sentiment associated with each entity and its mentions.
analyzeSentiment(AnalyzeSentimentRequest request, {String? $fields}) Future<AnalyzeSentimentResponse>
Analyzes the sentiment of the provided text.
analyzeSyntax(AnalyzeSyntaxRequest request, {String? $fields}) Future<AnalyzeSyntaxResponse>
Analyzes the syntax of the text and provides sentence boundaries and tokenization along with part of speech tags, dependency trees, and other properties.
annotateText(AnnotateTextRequest request, {String? $fields}) Future<AnnotateTextResponse>
A convenience method that provides all the features that analyzeSentiment, analyzeEntities, and analyzeSyntax provide in one call.
classifyText(ClassifyTextRequest request, {String? $fields}) Future<ClassifyTextResponse>
Classifies a document into categories.
moderateText(ModerateTextRequest request, {String? $fields}) Future<ModerateTextResponse>
Moderates a document for harmful and sensitive categories.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited