AnnotateTextRequestFeatures class

All available features for sentiment, syntax, and semantic analysis.

Setting each one to true will enable that specific analysis for the input.

Constructors

AnnotateTextRequestFeatures({ClassificationModelOptions? classificationModelOptions, bool? classifyText, bool? extractDocumentSentiment, bool? extractEntities, bool? extractEntitySentiment, bool? extractSyntax, bool? moderateText})
AnnotateTextRequestFeatures.fromJson(Map json_)

Properties

classificationModelOptions ClassificationModelOptions?
The model options to use for classification.
getter/setter pair
classifyText bool?
Classify the full document into categories.
getter/setter pair
extractDocumentSentiment bool?
Extract document-level sentiment.
getter/setter pair
extractEntities bool?
Extract entities.
getter/setter pair
extractEntitySentiment bool?
Extract entities and their associated sentiment.
getter/setter pair
extractSyntax bool?
Extract syntax information.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
moderateText bool?
Moderate the document for harmful and sensitive categories.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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