CSDModel Class Reference

#include <mmf/common/speechrecognitiondatadevasr.h>

Link against: speechrecognitiondata.lib

class CSDModel : public CBase

Inherits from

  • CSDModel

    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

    Returns: A descriptor to the acoustic model data.

    NewL ( )

    IMPORT_C CSDModel *NewL()[static]

    Instantiates an instance of a CSDModel.

    Returns: A pointer to a CSDModel object.

    NewL ( TPhonemeID )

    IMPORT_C CSDModel *NewL(TPhonemeIDaPhonemeID)[static]

    Instantiates an instance of a CSDModel.

    ParameterDescription
    aPhonemeIDThe phoneme identifier.

    Returns: A pointer to a CSDModel object.

    NewLC ( )

    IMPORT_C CSDModel *NewLC()[static]

    Instantiates an instance of a CSDModel.

    Returns: A pointer to a CSDModel object.

    NewLC ( TPhonemeID )

    IMPORT_C CSDModel *NewLC(TPhonemeIDaPhonemeID)[static]

    Instantiates an instance of a CSDModel.

    ParameterDescription
    aPhonemeIDThe phoneme identifier.

    Returns: A pointer to a CSDModel object.

    PhonemeID ( )

    IMPORT_C TPhonemeIDPhonemeID()const

    Returns the phoneme ID of this model.

    Since
    8.0

    Returns: The phoneme identifier.

    SetAcousticModel ( TPtr8 & )

    IMPORT_C voidSetAcousticModel(TPtr8 &aAcousticModel)

    Sets the acoustic model of the model.

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

    SetPhonemeID ( TPhonemeID )

    IMPORT_C voidSetPhonemeID(TPhonemeIDaPhonemeID)

    Sets the phoneme ID of this model.

    Since
    8.0
    ParameterDescription
    aPhonemeIDThe phoneme identifier.