RecognitionConfig constructor
RecognitionConfig({
- SpeechAdaptation? adaptation,
- List<
String> ? alternativeLanguageCodes, - int? audioChannelCount,
- SpeakerDiarizationConfig? diarizationConfig,
- bool? enableAutomaticPunctuation,
- bool? enableSeparateRecognitionPerChannel,
- bool? enableSpokenEmojis,
- bool? enableSpokenPunctuation,
- bool? enableWordConfidence,
- bool? enableWordTimeOffsets,
- String? encoding,
- String? languageCode,
- int? maxAlternatives,
- RecognitionMetadata? metadata,
- String? model,
- bool? profanityFilter,
- int? sampleRateHertz,
- List<
SpeechContext> ? speechContexts, - TranscriptNormalization? transcriptNormalization,
- bool? useEnhanced,
Implementation
RecognitionConfig({
this.adaptation,
this.alternativeLanguageCodes,
this.audioChannelCount,
this.diarizationConfig,
this.enableAutomaticPunctuation,
this.enableSeparateRecognitionPerChannel,
this.enableSpokenEmojis,
this.enableSpokenPunctuation,
this.enableWordConfidence,
this.enableWordTimeOffsets,
this.encoding,
this.languageCode,
this.maxAlternatives,
this.metadata,
this.model,
this.profanityFilter,
this.sampleRateHertz,
this.speechContexts,
this.transcriptNormalization,
this.useEnhanced,
});