RecognitionConfig constructor

RecognitionConfig({
  1. SpeechAdaptation? adaptation,
  2. List<String>? alternativeLanguageCodes,
  3. int? audioChannelCount,
  4. SpeakerDiarizationConfig? diarizationConfig,
  5. bool? enableAutomaticPunctuation,
  6. bool? enableSeparateRecognitionPerChannel,
  7. bool? enableSpokenEmojis,
  8. bool? enableSpokenPunctuation,
  9. bool? enableWordConfidence,
  10. bool? enableWordTimeOffsets,
  11. String? encoding,
  12. String? languageCode,
  13. int? maxAlternatives,
  14. RecognitionMetadata? metadata,
  15. String? model,
  16. bool? profanityFilter,
  17. int? sampleRateHertz,
  18. List<SpeechContext>? speechContexts,
  19. TranscriptNormalization? transcriptNormalization,
  20. 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,
});