class MSpeechRecognitionCustomCommandImplementor |
This is the main class of Speech Recognition Custom Commands Implementor.
8.0
void | MSrAddPronunciationL | ( | TLexiconID | aLexiconID, |
TModelBankID | aModelBankID, | |||
TModelID | aModelID, | |||
TPronunciationID & | aPronunciationID | |||
) | [pure virtual] |
Adds a new pronunciation for the given model into the specified lexicon.
8.0
TLexiconID aLexiconID | The lexicon ID to where the new pronunciation is added. |
TModelBankID aModelBankID | The model bank ID. |
TModelID aModelID | The model ID. |
TPronunciationID & aPronunciationID | A reference to where a new pronunciation ID is assigned. |
void | MSrAddRuleL | ( | TGrammarID | aGrammarID, |
TLexiconID | aLexiconID, | |||
TPronunciationID | aPronunciationID, | |||
TRuleID & | aRuleID | |||
) | [pure virtual] |
Adds a new rule for the given pronunciation into the specified grammar.
8.0
TGrammarID aGrammarID | The grammar ID, where the new rule is added to |
TLexiconID aLexiconID | The lexicon ID. |
TPronunciationID aPronunciationID | The pronunciation ID. |
TRuleID & aRuleID | A reference where a new rule ID is assigned to. |
void | MSrCommitChangesL | ( | ) | [pure virtual] |
Commit uncommited changes to the database.
8.0
void | MSrCreateGrammarL | ( | TGrammarID & | aGrammarID | ) | [pure virtual] |
Creates a new grammar.
8.0
TGrammarID & aGrammarID | A reference where the grammar ID is stored. |
void | MSrCreateLexiconL | ( | TLexiconID & | aLexiconID | ) | [pure virtual] |
Creates a new lexicon.
8.0
TLexiconID & aLexiconID | A reference where the lexicon ID is stored. |
void | MSrCreateModelBankL | ( | TModelBankID & | aModelBankID | ) | [pure virtual] |
Creates a new model bank.
8.0
TModelBankID & aModelBankID | A reference to where a new model bank ID is assigned. |
void | MSrEndRecSessionL | ( | ) | [pure virtual] |
Ends the current recognition session. Resources allocated for recognition are freed.
8.0
void | MSrGetAllClientGrammarIDsL | ( | RArray< TGrammarID > & | aGrammarIDs | ) | [pure virtual] |
Returns all grammar IDs that are owned by the client.
8.0
RArray< TGrammarID > & aGrammarIDs | A reference where grammar IDs are stored. |
void | MSrGetAllClientLexiconIDsL | ( | RArray< TLexiconID > & | aLexiconIDs | ) | [pure virtual] |
Returns all lexicon IDs that are owned by the client.
8.0
RArray< TLexiconID > & aLexiconIDs | A reference where the lexicon IDs are stored. |
void | MSrGetAllClientModelBankIDsL | ( | RArray< TModelBankID > & | aModelBankIDs | ) | [pure virtual] |
Returns all modelbank IDs that are owned by the client.
8.0
RArray< TModelBankID > & aModelBankIDs | A reference where model bank IDs are stored. |
void | MSrGetAllGrammarIDsL | ( | RArray< TGrammarID > & | aGrammarIDs | ) | [pure virtual] |
Returns all grammar IDs.
RArray< TGrammarID > & aGrammarIDs | A reference where grammar IDs are stored. |
void | MSrGetAllLexiconIDsL | ( | RArray< TLexiconID > & | aLexiconIDs | ) | [pure virtual] |
Returns all lexicon IDs.
RArray< TLexiconID > & aLexiconIDs | A reference where lexicon IDs are stored. |
void | MSrGetAllModelBankIDsL | ( | RArray< TModelBankID > & | aModelBankIDs | ) | [pure virtual] |
Returns all modelbank IDs.
8.0
RArray< TModelBankID > & aModelBankIDs | A reference where the model bank IDs are stored. |
void | MSrGetAllModelIDsL | ( | TModelBankID | aModelBankID, |
RArray< TModelID > & | aModelIDs | |||
) | [pure virtual] |
Returns all model IDs that exist in the specified model bank.
8.0
TModelBankID aModelBankID | The model bank ID. |
RArray< TModelID > & aModelIDs | A reference where model IDs are stored. |
void | MSrGetAllPronunciationIDsL | ( | TLexiconID | aLexiconID, |
RArray< TPronunciationID > & | aPronunciationIDs | |||
) | [pure virtual] |
Returns all pronunciation IDs that exist in the specified lexicon.
8.0
TLexiconID aLexiconID | The lexicon ID. |
RArray< TPronunciationID > & aPronunciationIDs | A reference where pronunciation IDs are stored. |
void | MSrGetAllRuleIDsL | ( | TGrammarID | aGrammarID, |
RArray< TRuleID > & | aRuleIDs | |||
) | [pure virtual] |
Returns all rule IDs that exist in the specified grammar.
8.0
TGrammarID aGrammarID | The grammar ID. |
RArray< TRuleID > & aRuleIDs | A reference where rule IDs are stored. |
void | MSrGetAvailableStorageL | ( | TInt & | aCount | ) | [pure virtual] |
Returns the number of models available for training system wide, based on available disk space.
8.0
TInt & aCount | A reference where the number of available models is set. |
void | MSrGetEnginePropertiesL | ( | const RArray< TInt > & | aPropertyId, |
RArray< TInt > & | aPropertyValue | |||
) | [pure virtual] |
Returns the engine properties specified by the engine property ID array.
On return aPropertyValue contains an array of engine properties.
8.0
void | MSrGetModelCountL | ( | TModelBankID | aModelBankID, |
TInt & | aCount | |||
) | [pure virtual] |
Returns the number of models in the specified model bank.
8.0
TModelBankID aModelBankID | The model bank ID. |
TInt & aCount | A reference where the number of models is set. |
void | MSrGetRuleValidityL | ( | TGrammarID | aGrammarID, |
TRuleID | aRuleID, | |||
TBool & | aValid | |||
) | [pure virtual] |
Checks if the rule is valid or not.
8.0
TGrammarID aGrammarID | The grammar ID. |
TRuleID aRuleID | The rule ID. |
TBool & aValid | A reference where the validity of the rule is set. |
void | MSrGetUtteranceDurationL | ( | TModelBankID | aModelBankID, |
TModelID | aModelID, | |||
TTimeIntervalMicroSeconds32 & | aDuration | |||
) | [pure virtual] |
Returns the duration of the utterance for the specified model.
8.0
TModelBankID aModelBankID | The model bank ID. |
TModelID aModelID | The model ID. |
TTimeIntervalMicroSeconds32 & aDuration | A reference where the duration of utterance is set. |
void | MSrLoadEngineParametersL | ( | const RArray< TInt > & | aParameterId, |
const RArray< TInt > & | aParameterValue | |||
) | [pure virtual] |
Unloads the specified parameters to the engine.
8.0
void | MSrLoadGrammarL | ( | TGrammarID | aGrammarID | ) | [pure virtual] |
Loads the specified grammar in into the recognizer; done prior to recognition.
8.0
TGrammarID aGrammarID | The grammar ID. |
void | MSrLoadLexiconL | ( | TLexiconID | aLexiconID | ) | [pure virtual] |
Loads the specified lexicon into the recognizer; done prior to recognition.
8.0
TLexiconID aLexiconID | The lexicon ID. |
void | MSrLoadModelsL | ( | TModelBankID | aModelBankID | ) | [pure virtual] |
Loads the specified model bank into the recognizer; done prior to recognition.
8.0
TModelBankID aModelBankID | The model bank ID. |
void | MSrPlayUtteranceL | ( | TModelBankID | aModelBankID, |
TModelID | aModelID | |||
) | [pure virtual] |
Plays the previously trained utterance.
8.0
TModelBankID aModelBankID | The model bank ID. |
TModelID aModelID | The model ID, whose utterance is played. |
void | MSrRecognizeL | ( | CSDClientResultSet & | aResultSet | ) | [pure virtual] |
Initiates recognition; performed following loading of model bank, lexicon, and grammar.
8.0
CSDClientResultSet & aResultSet | A reference where the recognition result is set. |
void | MSrRecordL | ( | TTimeIntervalMicroSeconds32 | aRecordTime | ) | [pure virtual] |
Records user utterance for training and recognition.
8.0
TTimeIntervalMicroSeconds32 aRecordTime | A recording time in microseconds. |
void | MSrRemoveGrammarL | ( | TGrammarID | aGrammarID | ) | [pure virtual] |
Removes the specified grammar from the permanent storage.
Removing a grammar will remove all rules within the grammar.
8.0
TGrammarID aGrammarID | The grammar ID. |
void | MSrRemoveLexiconL | ( | TLexiconID | aLexiconID | ) | [pure virtual] |
Removes the specified lexicon from the permanent storage.
Removing a lexicon will remove all pronunciations within the lexicon.
8.0
TLexiconID aLexiconID | The lexicon ID. |
void | MSrRemoveModelBankL | ( | TModelBankID | aModelBankID | ) | [pure virtual] |
Removes the specified model bank from the permanent storage.
Removing a model bank will remove all models within the model bank.
8.0
TModelBankID aModelBankID | The model bank ID. |
void | MSrRemoveModelL | ( | TModelBankID | aModelBankID, |
TModelID | aModelID | |||
) | [pure virtual] |
Removes the specified model from the specified model bank permanently.
8.0
TModelBankID aModelBankID | The model bank ID. |
TModelID aModelID | The model ID. |
void | MSrRemovePronunciationL | ( | TLexiconID | aLexiconID, |
TPronunciationID | aPronunciationID | |||
) | [pure virtual] |
Removes the specified pronunciation from the specified lexicon permanently.
8.0
TLexiconID aLexiconID | The lexicon ID. |
TPronunciationID aPronunciationID | The pronunciation ID. |
void | MSrRemoveRuleL | ( | TGrammarID | aGrammarID, |
TRuleID | aRuleID | |||
) | [pure virtual] |
Removes the specified rule from the specified grammar permanently.
8.0
TGrammarID aGrammarID | The grammar ID. |
TRuleID aRuleID | The rule ID. |
void | MSrSetClientUid | ( | TUid | aClientUid | ) | [pure virtual] |
Sets the specified grammar client UID.
TUid aClientUid | The client UID. |
void | MSrStartRecSessionL | ( | TRecognitionMode | aMode | ) | [pure virtual] |
Starts a new recognition session.
8.0
TRecognitionMode aMode | The recognition mode. |
void | MSrTrainL | ( | TModelBankID | aModelBankID, |
TModelID & | aModelID | |||
) | [pure virtual] |
Trains a new model into the specified model bank.
8.0
TModelBankID aModelBankID | The model bank ID. |
TModelID & aModelID | A reference to where the new model ID is assigned. |
void | MSrUnloadRuleL | ( | TGrammarID | aGrammarID, |
TRuleID | aRuleID | |||
) | [pure virtual] |
Unloads the specified rule from the specified grammar in temporary memory, previously loaded with LoadGrammarL().
The rule in the permanent storage remains intact.
8.0
TGrammarID aGrammarID | The grammar ID. |
TRuleID aRuleID | The rule ID. |