CSDModel Class Reference

#include <mmf/common/speechrecognitiondatadevasr.h>

Link against: speechrecognitiondata.lib

class CSDModel : public CBase

Inherits from

Detailed Description

Class to encapsulate a Speaker Dependent Model created during the training process.

Since
8.0

Constructor & Destructor Documentation

~CSDModel ( )

IMPORT_C~CSDModel()

Destructor.

Member Function Documentation

AcousticModel ( )

IMPORT_C const TDesC8 &AcousticModel()const

Gets a pointer to the acoustic model of this model.

Since
8.0
Return Value
A descriptor to the acoustic model data.

NewL ( )

IMPORT_C CSDModel *NewL()[static]

Instantiates an instance of a CSDModel.

Return Value
A pointer to a CSDModel object.

NewL ( TPhonemeID )

IMPORT_C CSDModel *NewL(TPhonemeIDaPhonemeID)[static]

Instantiates an instance of a CSDModel.

Parameters
aPhonemeIDThe phoneme identifier.
Return Value
A pointer to a CSDModel object.

NewLC ( )

IMPORT_C CSDModel *NewLC()[static]

Instantiates an instance of a CSDModel.

Return Value
A pointer to a CSDModel object.

NewLC ( TPhonemeID )

IMPORT_C CSDModel *NewLC(TPhonemeIDaPhonemeID)[static]

Instantiates an instance of a CSDModel.

Parameters
aPhonemeIDThe phoneme identifier.
Return Value
A pointer to a CSDModel object.

PhonemeID ( )

IMPORT_C TPhonemeIDPhonemeID()const

Returns the phoneme ID of this model.

Since
8.0
Return Value
The phoneme identifier.

SetAcousticModel ( TPtr8 & )

IMPORT_C voidSetAcousticModel(TPtr8 &aAcousticModel)

Sets the acoustic model of the model.

Since
8.0
Parameters
aAcousticModelA pointer descriptor containing the acoustic model (binary).

SetPhonemeID ( TPhonemeID )

IMPORT_C voidSetPhonemeID(TPhonemeIDaPhonemeID)

Sets the phoneme ID of this model.

Since
8.0
Parameters
aPhonemeIDThe phoneme identifier.