Interface protos.google.cloud.speech.v1.IRecognitionConfig (6.1.1)

Properties of a RecognitionConfig.

Package

@google-cloud/speech

Properties

adaptation

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

RecognitionConfig adaptation

alternativeLanguageCodes

alternativeLanguageCodes?: (string[]|null);

RecognitionConfig alternativeLanguageCodes

audioChannelCount

audioChannelCount?: (number|null);

RecognitionConfig audioChannelCount

diarizationConfig

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

RecognitionConfig diarizationConfig

enableAutomaticPunctuation

enableAutomaticPunctuation?: (boolean|null);

RecognitionConfig enableAutomaticPunctuation

enableSeparateRecognitionPerChannel

enableSeparateRecognitionPerChannel?: (boolean|null);

RecognitionConfig enableSeparateRecognitionPerChannel

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.v1.RecognitionConfig.AudioEncoding|keyof typeof google.cloud.speech.v1.RecognitionConfig.AudioEncoding|null);

RecognitionConfig encoding

languageCode

languageCode?: (string|null);

RecognitionConfig languageCode

maxAlternatives

maxAlternatives?: (number|null);

RecognitionConfig maxAlternatives

metadata

metadata?: (google.cloud.speech.v1.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.v1.ISpeechContext[]|null);

RecognitionConfig speechContexts

transcriptNormalization

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

RecognitionConfig transcriptNormalization

useEnhanced

useEnhanced?: (boolean|null);

RecognitionConfig useEnhanced