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, probability, mentions for each entity, and other properties.
analyzeSentiment(AnalyzeSentimentRequest request, {String? $fields}) Future<AnalyzeSentimentResponse>
Analyzes the sentiment of the provided text.
annotateText(AnnotateTextRequest request, {String? $fields}) Future<AnnotateTextResponse>
A convenience method that provides all features 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