#include <mmf/common/speechrecognitiondatadevasr.h>
| class CSDModel : public CBase |
| Public Member Functions | |
|---|---|
| ~CSDModel() | |
| IMPORT_C const TDesC8 & | AcousticModel() |
| IMPORT_C CSDModel * | NewL() |
| IMPORT_C CSDModel * | NewL(TPhonemeID) |
| IMPORT_C CSDModel * | NewLC() |
| IMPORT_C CSDModel * | NewLC(TPhonemeID) |
| IMPORT_C TPhonemeID | PhonemeID() |
| IMPORT_C void | SetAcousticModel(TPtr8 &) |
| IMPORT_C void | SetPhonemeID(TPhonemeID) |
Class to encapsulate a Speaker Dependent Model created during the training process.
| IMPORT_C const TDesC8 & | AcousticModel | ( | ) | const |
Gets a pointer to the acoustic model of this model.
Returns: A descriptor to the acoustic model data.
| IMPORT_C CSDModel * | NewL | ( | TPhonemeID | aPhonemeID | ) | [static] |
Instantiates an instance of a CSDModel.
| Parameter | Description |
|---|---|
| aPhonemeID | The phoneme identifier. |
Returns: A pointer to a CSDModel object.
| IMPORT_C CSDModel * | NewLC | ( | TPhonemeID | aPhonemeID | ) | [static] |
Instantiates an instance of a CSDModel.
| Parameter | Description |
|---|---|
| aPhonemeID | The phoneme identifier. |
Returns: A pointer to a CSDModel object.
| IMPORT_C TPhonemeID | PhonemeID | ( | ) | const |
Returns the phoneme ID of this model.
Returns: The phoneme identifier.
| IMPORT_C void | SetAcousticModel | ( | TPtr8 & | aAcousticModel | ) |
Sets the acoustic model of the model.
| Parameter | Description |
|---|---|
| aAcousticModel | A pointer descriptor containing the acoustic model (binary). |
| IMPORT_C void | SetPhonemeID | ( | TPhonemeID | aPhonemeID | ) |
Sets the phoneme ID of this model.
| Parameter | Description |
|---|---|
| aPhonemeID | The phoneme identifier. |