public class RecognizeOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
RecognizeOptions.Builder
Builder.
|
static interface |
RecognizeOptions.Model
The identifier of the model that is to be used for the recognition request.
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
acousticCustomizationId |
protected java.io.InputStream |
audio |
protected java.lang.Boolean |
audioMetrics |
protected java.lang.String |
baseModelVersion |
protected java.lang.String |
contentType |
protected java.lang.String |
customizationId |
protected java.lang.Double |
customizationWeight |
protected java.lang.Double |
endOfPhraseSilenceTime |
protected java.lang.String |
grammarName |
protected java.lang.Long |
inactivityTimeout |
protected java.util.List<java.lang.String> |
keywords |
protected java.lang.Float |
keywordsThreshold |
protected java.lang.String |
languageCustomizationId |
protected java.lang.Long |
maxAlternatives |
protected java.lang.String |
model |
protected java.lang.Boolean |
profanityFilter |
protected java.lang.Boolean |
redaction |
protected java.lang.Boolean |
smartFormatting |
protected java.lang.Boolean |
speakerLabels |
protected java.lang.Boolean |
splitTranscriptAtPhraseEnd |
protected java.lang.Boolean |
timestamps |
protected java.lang.Float |
wordAlternativesThreshold |
protected java.lang.Boolean |
wordConfidence |
Modifier | Constructor and Description |
---|---|
protected |
RecognizeOptions(RecognizeOptions.Builder builder) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
acousticCustomizationId()
Gets the acousticCustomizationId.
|
java.io.InputStream |
audio()
Gets the audio.
|
java.lang.Boolean |
audioMetrics()
Gets the audioMetrics.
|
java.lang.String |
baseModelVersion()
Gets the baseModelVersion.
|
java.lang.String |
contentType()
Gets the contentType.
|
java.lang.String |
customizationId()
Gets the customizationId.
|
java.lang.Double |
customizationWeight()
Gets the customizationWeight.
|
java.lang.Double |
endOfPhraseSilenceTime()
Gets the endOfPhraseSilenceTime.
|
java.lang.String |
grammarName()
Gets the grammarName.
|
java.lang.Long |
inactivityTimeout()
Gets the inactivityTimeout.
|
java.lang.Boolean |
interimResults()
Gets the interimResults.
|
java.util.List<java.lang.String> |
keywords()
Gets the keywords.
|
java.lang.Float |
keywordsThreshold()
Gets the keywordsThreshold.
|
java.lang.String |
languageCustomizationId()
Gets the languageCustomizationId.
|
java.lang.Long |
maxAlternatives()
Gets the maxAlternatives.
|
java.lang.String |
model()
Gets the model.
|
RecognizeOptions.Builder |
newBuilder()
New builder.
|
java.lang.Boolean |
processingMetrics()
Gets the processingMetrics.
|
java.lang.Float |
processingMetricsInterval()
Gets the processingMetricsInterval.
|
java.lang.Boolean |
profanityFilter()
Gets the profanityFilter.
|
java.lang.Boolean |
redaction()
Gets the redaction.
|
java.lang.Boolean |
smartFormatting()
Gets the smartFormatting.
|
java.lang.Boolean |
speakerLabels()
Gets the speakerLabels.
|
java.lang.Boolean |
splitTranscriptAtPhraseEnd()
Gets the splitTranscriptAtPhraseEnd.
|
java.lang.Boolean |
timestamps()
Gets the timestamps.
|
java.lang.Float |
wordAlternativesThreshold()
Gets the wordAlternativesThreshold.
|
java.lang.Boolean |
wordConfidence()
Gets the wordConfidence.
|
protected transient java.io.InputStream audio
@SerializedName(value="content-type") protected java.lang.String contentType
protected java.lang.String model
protected java.lang.String languageCustomizationId
protected java.lang.String acousticCustomizationId
protected java.lang.String baseModelVersion
protected java.lang.Double customizationWeight
protected java.lang.Long inactivityTimeout
protected java.util.List<java.lang.String> keywords
protected java.lang.Float keywordsThreshold
protected java.lang.Long maxAlternatives
protected java.lang.Float wordAlternativesThreshold
protected java.lang.Boolean wordConfidence
protected java.lang.Boolean timestamps
protected java.lang.Boolean profanityFilter
protected java.lang.Boolean smartFormatting
protected java.lang.Boolean speakerLabels
protected java.lang.String customizationId
protected java.lang.String grammarName
protected java.lang.Boolean redaction
protected java.lang.Boolean audioMetrics
protected java.lang.Double endOfPhraseSilenceTime
protected java.lang.Boolean splitTranscriptAtPhraseEnd
protected RecognizeOptions(RecognizeOptions.Builder builder)
public RecognizeOptions.Builder newBuilder()
public java.io.InputStream audio()
public java.lang.String contentType()
public java.lang.String model()
public java.lang.String languageCustomizationId()
public java.lang.String acousticCustomizationId()
public java.lang.String baseModelVersion()
public java.lang.Double customizationWeight()
public java.lang.Long inactivityTimeout()
public java.util.List<java.lang.String> keywords()
public java.lang.Float keywordsThreshold()
public java.lang.Long maxAlternatives()
public java.lang.Float wordAlternativesThreshold()
public java.lang.Boolean wordConfidence()
public java.lang.Boolean timestamps()
public java.lang.Boolean profanityFilter()
public java.lang.Boolean smartFormatting()
public java.lang.Boolean speakerLabels()
public java.lang.String customizationId()
public java.lang.String grammarName()
public java.lang.Boolean redaction()
public java.lang.Boolean audioMetrics()
public java.lang.Boolean interimResults()
public java.lang.Boolean processingMetrics()
public java.lang.Float processingMetricsInterval()
public java.lang.Double endOfPhraseSilenceTime()
public java.lang.Boolean splitTranscriptAtPhraseEnd()