SpeechAdaptation class

Provides "hints" to the speech recognizer to favor specific words and phrases in the results.

PhraseSets can be specified as an inline resource, or a reference to an existing PhraseSet resource.

Constructors

SpeechAdaptation({List<CustomClass>? customClasses, List<AdaptationPhraseSet>? phraseSets})
SpeechAdaptation.fromJson(Map json_)

Properties

customClasses List<CustomClass>?
A list of inline CustomClasses.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
phraseSets List<AdaptationPhraseSet>?
A list of inline or referenced PhraseSets.
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