Properties of a RecognitionConfig.
Package
@google-cloud/speech!Properties
adaptation
adaptation?: (google.cloud.speech.v1p1beta1.ISpeechAdaptation|null);
RecognitionConfig adaptation
Type | Description |
(google.cloud.speech.v1p1beta1.ISpeechAdaptation|null) |
alternativeLanguageCodes
alternativeLanguageCodes?: (string[]|null);
RecognitionConfig alternativeLanguageCodes
Type | Description |
(string[]|null) |
audioChannelCount
audioChannelCount?: (number|null);
RecognitionConfig audioChannelCount
Type | Description |
(number|null) |
diarizationConfig
diarizationConfig?: (google.cloud.speech.v1p1beta1.ISpeakerDiarizationConfig|null);
RecognitionConfig diarizationConfig
Type | Description |
(google.cloud.speech.v1p1beta1.ISpeakerDiarizationConfig|null) |
diarizationSpeakerCount
diarizationSpeakerCount?: (number|null);
RecognitionConfig diarizationSpeakerCount
Type | Description |
(number|null) |
enableAutomaticPunctuation
enableAutomaticPunctuation?: (boolean|null);
RecognitionConfig enableAutomaticPunctuation
Type | Description |
(boolean|null) |
enableSeparateRecognitionPerChannel
enableSeparateRecognitionPerChannel?: (boolean|null);
RecognitionConfig enableSeparateRecognitionPerChannel
Type | Description |
(boolean|null) |
enableSpeakerDiarization
enableSpeakerDiarization?: (boolean|null);
RecognitionConfig enableSpeakerDiarization
Type | Description |
(boolean|null) |
enableWordConfidence
enableWordConfidence?: (boolean|null);
RecognitionConfig enableWordConfidence
Type | Description |
(boolean|null) |
enableWordTimeOffsets
enableWordTimeOffsets?: (boolean|null);
RecognitionConfig enableWordTimeOffsets
Type | Description |
(boolean|null) |
encoding
encoding?: (google.cloud.speech.v1p1beta1.RecognitionConfig.AudioEncoding|keyof typeof google.cloud.speech.v1p1beta1.RecognitionConfig.AudioEncoding|null);
RecognitionConfig encoding
Type | Description |
(google.cloud.speech.v1p1beta1.RecognitionConfig.AudioEncoding|keyof typeof google.cloud.speech.v1p1beta1.RecognitionConfig.AudioEncoding|null) |
languageCode
languageCode?: (string|null);
RecognitionConfig languageCode
Type | Description |
(string|null) |
maxAlternatives
maxAlternatives?: (number|null);
RecognitionConfig maxAlternatives
Type | Description |
(number|null) |
metadata
metadata?: (google.cloud.speech.v1p1beta1.IRecognitionMetadata|null);
RecognitionConfig metadata
Type | Description |
(google.cloud.speech.v1p1beta1.IRecognitionMetadata|null) |
model
model?: (string|null);
RecognitionConfig model
Type | Description |
(string|null) |
profanityFilter
profanityFilter?: (boolean|null);
RecognitionConfig profanityFilter
Type | Description |
(boolean|null) |
sampleRateHertz
sampleRateHertz?: (number|null);
RecognitionConfig sampleRateHertz
Type | Description |
(number|null) |
speechContexts
speechContexts?: (google.cloud.speech.v1p1beta1.ISpeechContext[]|null);
RecognitionConfig speechContexts
Type | Description |
(google.cloud.speech.v1p1beta1.ISpeechContext[]|null) |
useEnhanced
useEnhanced?: (boolean|null);
RecognitionConfig useEnhanced
Type | Description |
(boolean|null) |