CSILexicon Class Reference
class CSILexicon : public CBase
|
Class to encapsulate a Speaker Independent Lexicon
nsssispeechrecognitiondata.lib
-
Since
-
2.8
Constructor & Destructor Documentation
CSILexicon(const TSILexiconID)
IMPORT_C
|
CSILexicon
|
(
|
const
TSILexiconID
|
aLexiconID
|
)
|
[protected]
|
~CSILexicon()
IMPORT_C
|
~CSILexicon
|
(
|
)
|
[virtual]
|
Member Functions Documentation
AddL(CSIPronunciation *)
Use to add a lexicon entry to the lexicon. Leaves with KErrNoMemory if maximal allowed amount of pronunciations is already stored in this lexicon
-
Since
-
2.8
AddPronunciationToEndL(CSIPronunciation *)
Utility function to add pronunciation to the end of ID-ordered array
AtL(TInt)
Use to return a pronunciation based at an index.
-
Since
-
2.8
Parameters
TInt
aIndex
|
Value must not be negative and must not be greater than the number of pronunciations currently in the lexicon.
|
ConstructL()
IMPORT_C void
|
ConstructL
|
(
|
)
|
[protected]
|
Count()
IMPORT_C
TInt
|
Count
|
(
|
)
|
const [virtual]
|
Use to count the number of lexicon entries in the lexicon.
-
Since
-
2.8
DeleteL(TSIPronunciationID)
Deletes a pronunciation based on identifier.
-
Since
-
2.8
ExternalizeL(RWriteStream &)
IMPORT_C void
|
ExternalizeL
|
(
|
RWriteStream
&
|
aStream
|
)
|
const [virtual]
|
Find(const TSIPronunciationID)
Use to find a pronunciation based on pronunciation Id.
-
Since
-
2.8
Find(const TDesC8 &)
IMPORT_C
TInt
|
Find
|
(
|
const
TDesC8
&
|
aPhonemeSequence
|
)
|
const [virtual]
|
Use to find a pronunciation based on phoneme sequence.
-
Since
-
2.8
Parameters
const
TDesC8
& aPhonemeSequence
|
|
InternalizeL(RReadStream &)
IMPORT_C void
|
InternalizeL
|
(
|
RReadStream
&
|
aStream
|
)
|
[virtual]
|
LexiconID()
Use to retrieve the model bank Id of the model bank.
-
Since
-
2.8
NewLC(const TSILexiconID)
Member Data Documentation
RPointerArray< CSIPronunciation > iPronunOrder
RPointerArray< CSIPronunciation > iPronunciationArray
TAny * iReserved
TAny
*
|
iReserved
|
[private]
|
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.