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