RecognitionConfig
class RecognitionConfig extends Collection (View source)
Properties
protected | $collection_key | ||
protected | $adaptationType | ||
protected | $adaptationDataType | ||
string[] | $alternativeLanguageCodes | ||
int | $audioChannelCount | ||
protected | $diarizationConfigType | ||
protected | $diarizationConfigDataType | ||
bool | $enableAutomaticPunctuation | ||
bool | $enableSeparateRecognitionPerChannel | ||
bool | $enableSpokenEmojis | ||
bool | $enableSpokenPunctuation | ||
bool | $enableWordConfidence | ||
bool | $enableWordTimeOffsets | ||
string | $encoding | ||
string | $languageCode | ||
int | $maxAlternatives | ||
protected | $metadataType | ||
protected | $metadataDataType | ||
string | $model | ||
bool | $profanityFilter | ||
int | $sampleRateHertz | ||
protected | $speechContextsType | ||
protected | $speechContextsDataType | ||
protected | $transcriptNormalizationType | ||
protected | $transcriptNormalizationDataType | ||
bool | $useEnhanced |
Methods
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
Details
setAdaptation(SpeechAdaptation $adaptation)
No description
SpeechAdaptation
getAdaptation()
No description
setAlternativeLanguageCodes($alternativeLanguageCodes)
No description
string[]
getAlternativeLanguageCodes()
No description
setAudioChannelCount($audioChannelCount)
No description
int
getAudioChannelCount()
No description
setDiarizationConfig(SpeakerDiarizationConfig $diarizationConfig)
No description
SpeakerDiarizationConfig
getDiarizationConfig()
No description
setEnableAutomaticPunctuation($enableAutomaticPunctuation)
No description
bool
getEnableAutomaticPunctuation()
No description
setEnableSeparateRecognitionPerChannel($enableSeparateRecognitionPerChannel)
No description
bool
getEnableSeparateRecognitionPerChannel()
No description
setEnableSpokenEmojis($enableSpokenEmojis)
No description
bool
getEnableSpokenEmojis()
No description
setEnableSpokenPunctuation($enableSpokenPunctuation)
No description
bool
getEnableSpokenPunctuation()
No description
setEnableWordConfidence($enableWordConfidence)
No description
bool
getEnableWordConfidence()
No description
setEnableWordTimeOffsets($enableWordTimeOffsets)
No description
bool
getEnableWordTimeOffsets()
No description
setEncoding($encoding)
No description
string
getEncoding()
No description
setLanguageCode($languageCode)
No description
string
getLanguageCode()
No description
setMaxAlternatives($maxAlternatives)
No description
int
getMaxAlternatives()
No description
setMetadata(RecognitionMetadata $metadata)
No description
RecognitionMetadata
getMetadata()
No description
setModel($model)
No description
string
getModel()
No description
setProfanityFilter($profanityFilter)
No description
bool
getProfanityFilter()
No description
setSampleRateHertz($sampleRateHertz)
No description
int
getSampleRateHertz()
No description
setSpeechContexts($speechContexts)
No description
SpeechContext[]
getSpeechContexts()
No description
setTranscriptNormalization(TranscriptNormalization $transcriptNormalization)
No description
TranscriptNormalization
getTranscriptNormalization()
No description
setUseEnhanced($useEnhanced)
No description
bool
getUseEnhanced()
No description