CSIPronunciation Class Reference

class CSIPronunciation : public CSIParameters

Class to encapsulate a Speaker Independent Pronunciation

nsssispeechrecognitiondata.lib
Since
2.8

Inherits from

Constructor & Destructor Documentation

CSIPronunciation(const TSIPronunciationID, const TSIModelBankID)

IMPORT_C CSIPronunciation ( const TSIPronunciationID aPronunciationID,
const TSIModelBankID aModelBankID
) [protected]

Parameters

const TSIPronunciationID aPronunciationID
const TSIModelBankID aModelBankID

~CSIPronunciation()

IMPORT_C ~CSIPronunciation ( ) [virtual]

Destructor.

Member Functions Documentation

Compare(const CSIPronunciation &, const CSIPronunciation &)

TInt Compare ( const CSIPronunciation & aFirst,
const CSIPronunciation & aSecond
) [static]

Compares two CSIPronunciation objects. Returns 0 if prununciation ids are equal. Returns -1 if first id is smaller. Returns 1 if second id is smaller.

Parameters

const CSIPronunciation & aFirst
const CSIPronunciation & aSecond

ComparePhonemes(const CSIPronunciation &, const CSIPronunciation &)

TInt ComparePhonemes ( const CSIPronunciation & aFirst,
const CSIPronunciation & aSecond
) [static]

Compares two CSIPronunciation objects. Returns 0 if phoneme sequences are equal. Returns -1 if first phoneme sequence is smaller. Returns 1 if second phoneme sequence is smaller.

Parameters

const CSIPronunciation & aFirst
const CSIPronunciation & aSecond

ConstructL()

IMPORT_C void ConstructL ( ) [protected, virtual]

ModelBankID()

IMPORT_C TSIModelBankID ModelBankID ( ) const [virtual]
Use to retrieve the model bank Id of the model bank.
Since
2.8

NewL(const TSIPronunciationID, const TSIModelBankID)

IMPORT_C CSIPronunciation * NewL ( const TSIPronunciationID aPronunciationID,
const TSIModelBankID aModelBankID
) [static]

Two-phased constructor.

Parameters

const TSIPronunciationID aPronunciationID
const TSIModelBankID aModelBankID

NewLC(const TSIPronunciationID, const TSIModelBankID)

IMPORT_C CSIPronunciation * NewLC ( const TSIPronunciationID aPronunciationID,
const TSIModelBankID aModelBankID
) [static]

Parameters

const TSIPronunciationID aPronunciationID
const TSIModelBankID aModelBankID

PhonemeSequence()

IMPORT_C const TDesC8 & PhonemeSequence ( ) const [virtual]
Use to retrieve the phoneme sequence.
Since
2.8

PronunciationID()

IMPORT_C TSIPronunciationID PronunciationID ( ) const [virtual]
Use to retrieve the pronunciation Id of this lexicon entry.
Since
2.8

SetPhonemeSequenceL(const TDesC8 &)

IMPORT_C void SetPhonemeSequenceL ( const TDesC8 & aPhonemeSequence ) [virtual]
Use to set phoneme sequence.
Since
2.8

Parameters

const TDesC8 & aPhonemeSequence Phoneme sequence.

SetPronunciationID(TSIPronunciationID)

IMPORT_C void SetPronunciationID ( TSIPronunciationID aPronunciationID ) [virtual]
Use to set the pronunciation Id of this lexicon entry.
Since
2.8

Parameters

TSIPronunciationID aPronunciationID

Member Data Documentation

TSIModelBankID iModelBankID

TSIModelBankID iModelBankID [private]

HBufC8 * iPhonemeSequence

HBufC8 * iPhonemeSequence [private]

TSIPronunciationID iPronunciationID

TSIPronunciationID iPronunciationID [private]

TAny * iReserved

TAny * iReserved [private]