Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: speechrecognitiondatadevasr.h
Link against: speechrecognitiondata.lib

This item is not part of the S60 3rd Edition SDK for Symbian OS, Feature Pack 2.

Class CSDModel

class CSDModel : public CBase;

Description

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

Derivation

Members

Defined in CSDModel:
AcousticModel(), NewL(), NewL(), NewLC(), NewLC(), PhonemeID(), SetAcousticModel(), SetPhonemeID(), ~CSDModel()

Inherited from CBase:
Delete(), Extension_(), operator new()


Construction and destruction


~CSDModel()

IMPORT_C ~CSDModel();

Description

Destructor.


NewL()

static IMPORT_C CSDModel *NewL();

Description

Instantiates an instance of a CSDModel.

Return value

CSDModel *

A pointer to a CSDModel object.


NewLC()

static IMPORT_C CSDModel *NewLC();

Description

Instantiates an instance of a CSDModel.

Return value

CSDModel *

A pointer to a CSDModel object.


NewL()

static IMPORT_C 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.


NewLC()

static IMPORT_C 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.

[Top]


Member functions


SetPhonemeID()

IMPORT_C void SetPhonemeID(TPhonemeID aPhonemeID);

Description

Sets the phoneme ID of this model.

Parameters

TPhonemeID aPhonemeID

The phoneme identifier.


PhonemeID()

IMPORT_C TPhonemeID PhonemeID() const;

Description

Returns the phoneme ID of this model.

Return value

TPhonemeID

The phoneme identifier.


SetAcousticModel()

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).


AcousticModel()

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.