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_CCSIPronunciation(const TSIPronunciationIDaPronunciationID,
const TSIModelBankIDaModelBankID
)[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 voidConstructL()[protected, virtual]

ModelBankID()

IMPORT_C TSIModelBankIDModelBankID()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 TSIPronunciationIDaPronunciationID,
const TSIModelBankIDaModelBankID
)[static]

Two-phased constructor.

Parameters

const TSIPronunciationID aPronunciationID
const TSIModelBankID aModelBankID

NewLC(const TSIPronunciationID, const TSIModelBankID)

IMPORT_C CSIPronunciation *NewLC(const TSIPronunciationIDaPronunciationID,
const TSIModelBankIDaModelBankID
)[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 TSIPronunciationIDPronunciationID()const [virtual]
Use to retrieve the pronunciation Id of this lexicon entry.
Since
2.8

SetPhonemeSequenceL(const TDesC8 &)

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

Parameters

const TDesC8 & aPhonemeSequencePhoneme sequence.

SetPronunciationID(TSIPronunciationID)

IMPORT_C voidSetPronunciationID(TSIPronunciationIDaPronunciationID)[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]