Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <SpeechRecognitionDataDevASR.h>
Link against: speechrecognitiondata.lib
This item is not part of the S60 5th Edition SDK

Class CSDModel

class CSDModel : public CBase;

Description

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

Derivation

Members

Defined in CSDModel:

Inherited from CBase:


Construction and destruction


~CSDModel()

IMPORT_C ~CSDModel();

Description

Destructor.


NewL()

IMPORT_C static CSDModel* NewL();

Description

Instantiates an instance of a CSDModel.

Return value

CSDModel *

A pointer to a CSDModel object.


NewLC()

IMPORT_C static CSDModel* NewLC();

Description

Instantiates an instance of a CSDModel.

Return value

CSDModel *

A pointer to a CSDModel object.


NewL(TPhonemeID)

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.


NewLC(TPhonemeID)

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.

[Top]


Member functions


SetPhonemeID(TPhonemeID)

IMPORT_C void SetPhonemeID(TPhonemeID aPhonemeID);

Description

Sets the phoneme ID of this model.

Parameters

TPhonemeID aPhonemeID

The phoneme identifier.


PhonemeID()const

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


AcousticModel()const

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.