IRecognitionConfig

google.cloud.speech.v1p1beta1. IRecognitionConfig

Properties of a RecognitionConfig.

Properties:
Name Type Attributes Description
encoding google.cloud.speech.v1p1beta1.RecognitionConfig.AudioEncoding | null <optional>

RecognitionConfig encoding

sampleRateHertz number | null <optional>

RecognitionConfig sampleRateHertz

audioChannelCount number | null <optional>

RecognitionConfig audioChannelCount

enableSeparateRecognitionPerChannel boolean | null <optional>

RecognitionConfig enableSeparateRecognitionPerChannel

languageCode string | null <optional>

RecognitionConfig languageCode

alternativeLanguageCodes Array.<string> | null <optional>

RecognitionConfig alternativeLanguageCodes

maxAlternatives number | null <optional>

RecognitionConfig maxAlternatives

profanityFilter boolean | null <optional>

RecognitionConfig profanityFilter

adaptation google.cloud.speech.v1p1beta1.ISpeechAdaptation | null <optional>

RecognitionConfig adaptation

transcriptNormalization google.cloud.speech.v1p1beta1.ITranscriptNormalization | null <optional>

RecognitionConfig transcriptNormalization

speechContexts Array.<google.cloud.speech.v1p1beta1.ISpeechContext> | null <optional>

RecognitionConfig speechContexts

enableWordTimeOffsets boolean | null <optional>

RecognitionConfig enableWordTimeOffsets

enableWordConfidence boolean | null <optional>

RecognitionConfig enableWordConfidence

enableAutomaticPunctuation boolean | null <optional>

RecognitionConfig enableAutomaticPunctuation

enableSpokenPunctuation google.protobuf.IBoolValue | null <optional>

RecognitionConfig enableSpokenPunctuation

enableSpokenEmojis google.protobuf.IBoolValue | null <optional>

RecognitionConfig enableSpokenEmojis

enableSpeakerDiarization boolean | null <optional>

RecognitionConfig enableSpeakerDiarization

diarizationSpeakerCount number | null <optional>

RecognitionConfig diarizationSpeakerCount

diarizationConfig google.cloud.speech.v1p1beta1.ISpeakerDiarizationConfig | null <optional>

RecognitionConfig diarizationConfig

metadata google.cloud.speech.v1p1beta1.IRecognitionMetadata | null <optional>

RecognitionConfig metadata

model string | null <optional>

RecognitionConfig model

useEnhanced boolean | null <optional>

RecognitionConfig useEnhanced