public class RecognizeOptions extends 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.String |
baseModelVersion()
Gets the baseModelVersion.
|
java.lang.String |
contentType()
Gets the contentType.
|
java.lang.String |
customizationId()
Deprecated.
Use the `languageCustomizationId` getter to get the customization ID (GUID) of a custom
language model that is to be used with the recognition request.
|
java.lang.Double |
customizationWeight()
Gets the customizationWeight.
|
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 |
profanityFilter()
Gets the profanityFilter.
|
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.
|
equals, hashCode, toString
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.Boolean interimResults()