Interface protos.google.cloud.speech.v1p1beta1.IRecognitionConfig (4.9.0)

Properties of a RecognitionConfig.

Package

@google-cloud/speech

Properties

adaptation

adaptation?: (google.cloud.speech.v1p1beta1.ISpeechAdaptation|null);

RecognitionConfig adaptation

alternativeLanguageCodes

alternativeLanguageCodes?: (string[]|null);

RecognitionConfig alternativeLanguageCodes

audioChannelCount

audioChannelCount?: (number|null);

RecognitionConfig audioChannelCount

diarizationConfig

diarizationConfig?: (google.cloud.speech.v1p1beta1.ISpeakerDiarizationConfig|null);

RecognitionConfig diarizationConfig

diarizationSpeakerCount

diarizationSpeakerCount?: (number|null);

RecognitionConfig diarizationSpeakerCount

enableAutomaticPunctuation

enableAutomaticPunctuation?: (boolean|null);

RecognitionConfig enableAutomaticPunctuation

enableSeparateRecognitionPerChannel

enableSeparateRecognitionPerChannel?: (boolean|null);

RecognitionConfig enableSeparateRecognitionPerChannel

enableSpeakerDiarization

enableSpeakerDiarization?: (boolean|null);

RecognitionConfig enableSpeakerDiarization

enableSpokenEmojis

enableSpokenEmojis?: (google.protobuf.IBoolValue|null);

RecognitionConfig enableSpokenEmojis

enableSpokenPunctuation

enableSpokenPunctuation?: (google.protobuf.IBoolValue|null);

RecognitionConfig enableSpokenPunctuation

enableWordConfidence

enableWordConfidence?: (boolean|null);

RecognitionConfig enableWordConfidence

enableWordTimeOffsets

enableWordTimeOffsets?: (boolean|null);

RecognitionConfig enableWordTimeOffsets

encoding

encoding?: (google.cloud.speech.v1p1beta1.RecognitionConfig.AudioEncoding|keyof typeof google.cloud.speech.v1p1beta1.RecognitionConfig.AudioEncoding|null);

RecognitionConfig encoding

languageCode

languageCode?: (string|null);

RecognitionConfig languageCode

maxAlternatives

maxAlternatives?: (number|null);

RecognitionConfig maxAlternatives

metadata

metadata?: (google.cloud.speech.v1p1beta1.IRecognitionMetadata|null);

RecognitionConfig metadata

model

model?: (string|null);

RecognitionConfig model

profanityFilter

profanityFilter?: (boolean|null);

RecognitionConfig profanityFilter

sampleRateHertz

sampleRateHertz?: (number|null);

RecognitionConfig sampleRateHertz

speechContexts

speechContexts?: (google.cloud.speech.v1p1beta1.ISpeechContext[]|null);

RecognitionConfig speechContexts

transcriptNormalization

transcriptNormalization?: (google.cloud.speech.v1p1beta1.ITranscriptNormalization|null);

RecognitionConfig transcriptNormalization

useEnhanced

useEnhanced?: (boolean|null);

RecognitionConfig useEnhanced