GoogleCloudVideointelligenceV1SpeechTranscriptionConfig class
Config for SPEECH_TRANSCRIPTION.
Constructors
-
GoogleCloudVideointelligenceV1SpeechTranscriptionConfig({List<
int> ? audioTracks, int? diarizationSpeakerCount, bool? enableAutomaticPunctuation, bool? enableSpeakerDiarization, bool? enableWordConfidence, bool? filterProfanity, String? languageCode, int? maxAlternatives, List<GoogleCloudVideointelligenceV1SpeechContext> ? speechContexts}) - GoogleCloudVideointelligenceV1SpeechTranscriptionConfig.fromJson(Map json_)
Properties
-
audioTracks
↔ List<
int> ? -
For file formats, such as MXF or MKV, supporting multiple audio tracks,
specify up to two tracks.
getter/setter pair
- diarizationSpeakerCount ↔ int?
-
If set, specifies the estimated number of speakers in the conversation.
getter/setter pair
- enableAutomaticPunctuation ↔ bool?
-
If 'true', adds punctuation to recognition result hypotheses.
getter/setter pair
- enableSpeakerDiarization ↔ bool?
-
If 'true', enables speaker detection for each recognized word in the top
alternative of the recognition result using a speaker_tag provided in the
WordInfo.
getter/setter pair
- enableWordConfidence ↔ bool?
-
If
true
, the top result includes a list of words and the confidence for those words.getter/setter pair - filterProfanity ↔ 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, e.g. "f***".getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- languageCode ↔ String?
-
Required The language of the supplied audio as a
[BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
getter/setter pair
- maxAlternatives ↔ int?
-
Maximum number of recognition hypotheses to be returned.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
speechContexts
↔ List<
GoogleCloudVideointelligenceV1SpeechContext> ? -
A means to provide context to assist the speech recognition.
getter/setter pair
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