RecognitionFeatures class

Available recognition features.

Constructors

RecognitionFeatures({SpeakerDiarizationConfig? diarizationConfig, bool? enableAutomaticPunctuation, bool? enableSpokenEmojis, bool? enableSpokenPunctuation, bool? enableWordConfidence, bool? enableWordTimeOffsets, int? maxAlternatives, String? multiChannelMode, bool? profanityFilter})
RecognitionFeatures.fromJson(Map json_)

Properties

diarizationConfig SpeakerDiarizationConfig?
Configuration to enable speaker diarization and set additional parameters to make diarization better suited for your application.
getter/setter pair
enableAutomaticPunctuation bool?
If true, adds punctuation to recognition result hypotheses.
getter/setter pair
enableSpokenEmojis bool?
The spoken emoji behavior for the call.
getter/setter pair
enableSpokenPunctuation bool?
The spoken punctuation behavior for the call.
getter/setter pair
enableWordConfidence bool?
If true, the top result includes a list of words and the confidence for those words.
getter/setter pair
enableWordTimeOffsets bool?
If true, the top result includes a list of words and the start and end time offsets (timestamps) for those words.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
maxAlternatives int?
Maximum number of recognition hypotheses to be returned.
getter/setter pair
multiChannelMode String?
Mode for recognizing multi-channel audio. Possible string values are:
getter/setter pair
profanityFilter bool?
If set to true, the server will attempt to filter out profanities, replacing all but the initial character in each filtered word with asterisks, for instance, "f***".
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