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.ContentType
The format (MIME type) of the audio.
|
static interface |
RecognizeOptions.Model
The identifier of the model that is to be used for the recognition request.
|
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.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 |
timestamps()
Gets the timestamps.
|
java.lang.Float |
wordAlternativesThreshold()
Gets the wordAlternativesThreshold.
|
java.lang.Boolean |
wordConfidence()
Gets the wordConfidence.
|
public RecognizeOptions.Builder newBuilder()
public java.io.InputStream audio()
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.String contentType()
public java.lang.Boolean interimResults()
public java.lang.Boolean processingMetrics()
public java.lang.Float processingMetricsInterval()