public class SpeechModel extends GenericModel
Modifier and Type | Class and Description |
---|---|
class |
SpeechModel.SupportedFeatures
Describes the additional service features supported with the speech
model.
|
Modifier and Type | Field and Description |
---|---|
static SpeechModel |
AR_AR_BROADBANDMODEL
Modern Standard Arabic broadband model.
|
static SpeechModel |
EN_GB_BROADBANDMODEL
UK English broadband model.
|
static SpeechModel |
EN_GB_NARROWBANDMODEL
UK English narrowband model.
|
static SpeechModel |
EN_US_BROADBANDMODEL
US English broadband model.
|
static SpeechModel |
EN_US_NARROWBANDMODEL
US English narrowband model.
|
static SpeechModel |
ES_ES_BROADBANDMODEL
Spanish broadband model.
|
static SpeechModel |
ES_ES_NARROWBANDMODEL
Spanish narrowband model.
|
static SpeechModel |
FR_FR_BROADBANDMODEL
French broadband model.
|
static SpeechModel |
JA_JP_BROADBANDMODEL
Japanese broadband model.
|
static SpeechModel |
JA_JP_NARROWBANDMODEL
Japanese narrowband model.
|
static SpeechModel |
PT_BR_BROADBANDMODEL
Brazilian Portuguese broadband model.
|
static SpeechModel |
PT_BR_NARROWBANDMODEL
Brazilian Portuguese narrowband model.
|
static SpeechModel |
ZH_CN_BROADBANDMODEL
Mandarin broadband model.
|
static SpeechModel |
ZH_CN_NARROWBANDMODEL
Mandarin narrowband model.
|
Constructor and Description |
---|
SpeechModel(java.lang.String name)
Instantiates a new speech model.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription()
Gets the description.
|
java.lang.String |
getLanguage()
Gets the language.
|
java.lang.String |
getName()
Gets the name.
|
int |
getRate()
Gets the rate.
|
java.lang.String |
getSessions()
Gets the sessions.
|
SpeechModel.SupportedFeatures |
getSupportedFeatures()
Gets the supported features.
|
java.lang.String |
getUrl()
Gets the url.
|
void |
setDescription(java.lang.String description)
Sets the description.
|
void |
setLanguage(java.lang.String language)
Sets the language.
|
void |
setName(java.lang.String name)
Sets the name.
|
void |
setRate(int rate)
Sets the rate.
|
void |
setSessions(java.lang.String sessions)
Sets the sessions.
|
void |
setSupportedFeatures(SpeechModel.SupportedFeatures supportedFeatures)
Sets the supported features.
|
void |
setUrl(java.lang.String url)
Sets the url.
|
equals, hashCode, toString
public static final SpeechModel AR_AR_BROADBANDMODEL
public static final SpeechModel EN_GB_BROADBANDMODEL
public static final SpeechModel EN_GB_NARROWBANDMODEL
public static final SpeechModel EN_US_BROADBANDMODEL
public static final SpeechModel EN_US_NARROWBANDMODEL
public static final SpeechModel ES_ES_BROADBANDMODEL
public static final SpeechModel ES_ES_NARROWBANDMODEL
public static final SpeechModel JA_JP_BROADBANDMODEL
public static final SpeechModel FR_FR_BROADBANDMODEL
public static final SpeechModel JA_JP_NARROWBANDMODEL
public static final SpeechModel PT_BR_BROADBANDMODEL
public static final SpeechModel PT_BR_NARROWBANDMODEL
public static final SpeechModel ZH_CN_BROADBANDMODEL
public static final SpeechModel ZH_CN_NARROWBANDMODEL
public SpeechModel(java.lang.String name)
name
- the namepublic java.lang.String getName()
public java.lang.String getLanguage()
public int getRate()
public java.lang.String getUrl()
public java.lang.String getDescription()
public java.lang.String getSessions()
public SpeechModel.SupportedFeatures getSupportedFeatures()
public void setName(java.lang.String name)
name
- The namepublic void setLanguage(java.lang.String language)
language
- The languagepublic void setRate(int rate)
rate
- The ratepublic void setUrl(java.lang.String url)
url
- The url.public void setDescription(java.lang.String description)
description
- The descriptionpublic void setSessions(java.lang.String sessions)
sessions
- the new sessionspublic void setSupportedFeatures(SpeechModel.SupportedFeatures supportedFeatures)
supportedFeatures
- the new supported features