#include <SpeechRecognitionDataDevASR.h>
Link against:
speechrecognitiondata.lib
This item is not part of the S60 5th Edition SDK
class CSDModel : public CBase;
Description
Class to encapsulate a Speaker Dependent Model created during the training process.
Derivation
CBase
-
Base class for all classes to be instantiated on the heap.
Members
Defined in CSDModel
:
Inherited from CBase
:
Construction and destruction
IMPORT_C ~CSDModel();
Description
Destructor.
IMPORT_C static CSDModel* NewL();
Description
Instantiates an instance of a CSDModel.
Return value
CSDModel *
|
A pointer to a CSDModel object.
|
|
IMPORT_C static CSDModel* NewLC();
Description
Instantiates an instance of a CSDModel.
Return value
CSDModel *
|
A pointer to a CSDModel object.
|
|
IMPORT_C static CSDModel* NewL(TPhonemeID aPhonemeID);
Description
Instantiates an instance of a CSDModel.
Parameters
TPhonemeID aPhonemeID |
The phoneme identifier.
|
|
Return value
CSDModel *
|
A pointer to a CSDModel object.
|
|
IMPORT_C static CSDModel* NewLC(TPhonemeID aPhonemeID);
Description
Instantiates an instance of a CSDModel.
Parameters
TPhonemeID aPhonemeID |
The phoneme identifier.
|
|
Return value
CSDModel *
|
A pointer to a CSDModel object.
|
|
IMPORT_C void SetPhonemeID(TPhonemeID aPhonemeID);
Description
Sets the phoneme ID of this model.
Parameters
TPhonemeID aPhonemeID |
The phoneme identifier.
|
|
IMPORT_C TPhonemeID PhonemeID() const;
Description
Returns the phoneme ID of this model.
Return value
TPhonemeID
|
The phoneme identifier.
|
|
SetAcousticModel(TPtr8 &)
IMPORT_C void SetAcousticModel(TPtr8 &aAcousticModel);
Description
Sets the acoustic model of the model.
Parameters
TPtr8 &aAcousticModel |
A pointer descriptor containing the acoustic model (binary).
|
|
IMPORT_C const TDesC8& AcousticModel() const;
Description
Gets a pointer to the acoustic model of this model.
Return value
const TDesC8 & |
A descriptor to the acoustic model data.
|
|