public class SpeechModel extends GenericModel
| Modifier and Type | Field and Description | 
|---|---|
| static SpeechModel | EN_BROADBAND16KUS English broadband model (16KHz). | 
| static SpeechModel | EN_NARROWBAND8KUS English narrowband model (8KHz). | 
| static SpeechModel | ES_BROADBAND16KSpanish broadband model (16KHz). | 
| static SpeechModel | PT_BROADBAND16KBrazilian Portuguese broadband model (16KHz). | 
| Constructor and Description | 
|---|
| SpeechModel(String name)Instantiates a new speech model. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getName()Gets the name. | 
| int | getRate()Gets the rate. | 
| String | getSessions()Gets the sessions. | 
| void | setName(String name)Sets the name. | 
| void | setRate(int rate)Sets the rate. | 
| void | setSessions(String sessions)Sets the sessions. | 
equals, hashCode, toStringpublic static final SpeechModel EN_BROADBAND16K
public static final SpeechModel EN_NARROWBAND8K
public static final SpeechModel ES_BROADBAND16K
public static final SpeechModel PT_BROADBAND16K
public SpeechModel(String name)
name - the namepublic String getName()
public int getRate()
public String getSessions()
public void setName(String name)
name - The namepublic void setRate(int rate)
rate - The ratepublic void setSessions(String sessions)
sessions - the new sessionsCopyright © 2015–2016. All rights reserved.