CSISpeechRecognitionCustomCommandParser Class Reference
class CSISpeechRecognitionCustomCommandParser : public CMMFCustomCommandParserBase |
This is the main class of Speaker Independent Custom Commands Parser
nsssispeechrecognitioncustomcommands.lib
- Since
- 2.8
Inherits from
- CSISpeechRecognitionCustomCommandParser
Constructor & Destructor Documentation
CSISpeechRecognitionCustomCommandParser(MSISpeechRecognitionCustomCommandImplementor &)
~CSISpeechRecognitionCustomCommandParser()
IMPORT_C | ~CSISpeechRecognitionCustomCommandParser | ( | ) | |
Member Functions Documentation
DoActivateGrammarL(TMMFMessage &)
Activates a previously deactivated gramamr.
Parameters
TMMFMessage & aMessage | message containing the information of the request. |
DoAdaptL(TMMFMessage &)
Adapts acoustic models to a user's voice.
- Since
- 2.8
Parameters
TMMFMessage & aMessage | message containing the information of the request. |
DoAddPronunciationL(TMMFMessage &)
void | DoAddPronunciationL | ( | TMMFMessage & | aMessage | ) | [private] |
Adds a new pronunciation for the given model into the specified lexicon.
- Since
- 2.0
Parameters
TMMFMessage & aMessage | message containing the information of the request. |
DoAddPronunciationSIL(TMMFMessage &)
void | DoAddPronunciationSIL | ( | TMMFMessage & | aMessage | ) | [private] |
Adds a speaker independent pronunciation.
- Since
- 2.8
Parameters
TMMFMessage & aMessage | message containing the information of the request. |
DoAddRuleL(TMMFMessage &)
Adds a new rule for the given pronunciation into the specified grammar.
- Since
- 2.0
Parameters
TMMFMessage & aMessage | message containing the information of the request. |
DoAddRuleVariantL(TMMFMessage &)
Adds a rule variant.
- Since
- 2.8
Parameters
TMMFMessage & aMessage | message containing the information of the request. |
DoAddSindeVoiceTagL(TMMFMessage &)
void | DoAddSindeVoiceTagL | ( | TMMFMessage & | aMessage | ) | [private] |
Adds one SINDE voice tag.
Parameters
TMMFMessage & aMessage | Message containing the information of the request. |
DoAddSindeVoiceTagsL(TMMFMessage &)
void | DoAddSindeVoiceTagsL | ( | TMMFMessage & | aMessage | ) | [private] |
Adds an array of voice tags.
Parameters
TMMFMessage & aMessage | Message containing the information of the request. |
DoAddVoiceTagL(TMMFMessage &)
Adds a voice tag.
- Since
- 2.8
Parameters
TMMFMessage & aMessage | message containing the information of the request. |
DoAddVoiceTagsL(TMMFMessage &)
Adds several voice tags.
- Since
- 2.8
Parameters
TMMFMessage & aMessage | message containing the information of the request. |
DoCancel()
Cancels the current operation
- Since
- 2.0
DoCommitChangesL()
void | DoCommitChangesL | ( | ) | [private] |
Saves the current changes into a permanent storage.
- Since
- 2.0
DoCopyGrammarIDArrayL(TMMFMessage &)
void | DoCopyGrammarIDArrayL | ( | TMMFMessage & | aMessage | ) | [private] |
Copy the grammar ID array to the client.
- Since
- 2.0
Parameters
TMMFMessage & aMessage | message containing the information of the request. |
DoCopyIntArrayL(TMMFMessage &, const RArray< TInt > &)
Copy data from an
RArray to the client.
- Since
- 2.0
Parameters
TMMFMessage & aMessage | message containing the information of the request. |
const RArray< TInt > & aArray | RArray copied to the client. |
DoCopyLexiconIDArrayL(TMMFMessage &)
void | DoCopyLexiconIDArrayL | ( | TMMFMessage & | aMessage | ) | [private] |
Copy the lexicon ID array to the client.
- Since
- 2.0
Parameters
TMMFMessage & aMessage | message containing the information of the request. |
DoCopyModelBankIDArrayL(TMMFMessage &)
void | DoCopyModelBankIDArrayL | ( | TMMFMessage & | aMessage | ) | [private] |
Copy the model bank ID array to the client.
- Since
- 2.0
Parameters
TMMFMessage & aMessage | message containing the information of the request. |
DoCopyModelIDArrayL(TMMFMessage &)
void | DoCopyModelIDArrayL | ( | TMMFMessage & | aMessage | ) | [private] |
Copy the model ID array to the client.
- Since
- 2.0
Parameters
TMMFMessage & aMessage | message containing the information of the request. |
DoCopyPronunciationIDArrayL(TMMFMessage &)
void | DoCopyPronunciationIDArrayL | ( | TMMFMessage & | aMessage | ) | [private] |
Copy the pronunciation ID array to the client.
- Since
- 2.0
Parameters
TMMFMessage & aMessage | message containing the information of the request. |
DoCopyResultSetL(TMMFMessage &)
Copy the recognition result set to the client.
- Since
- 2.0
Parameters
TMMFMessage & aMessage | message containing the information of the request. |
DoCopyRuleIDArrayL(TMMFMessage &)
Copy the rule ID array to the client.
- Since
- 2.0
Parameters
TMMFMessage & aMessage | message containing the information of the request. |
DoCreateGrammarL(TMMFMessage &)
Creates a new grammar.
- Since
- 2.0
Parameters
TMMFMessage & aMessage | message containing the information of the request. |
DoCreateLexiconL(TMMFMessage &)
Creates a new lexicon.
- Since
- 2.0
Parameters
TMMFMessage & aMessage | message containing the information of the request. |
DoCreateModelBankL(TMMFMessage &)
Creates a new model bank.
- Since
- 2.0
Parameters
TMMFMessage & aMessage | message containing the information of the request. |
DoCreateRuleL(TMMFMessage &)
Creates an empty rule.
- Since
- 2.8
Parameters
TMMFMessage & aMessage | message containing the information of the request. |
DoDeactivateGrammarL(TMMFMessage &)
void | DoDeactivateGrammarL | ( | TMMFMessage & | aMessage | ) | [private] |
Deactivates a loaded gramamr, so that it is not recognized.
Parameters
TMMFMessage & aMessage | message containing the information of the request. |
DoEndRecSessionL()
void | DoEndRecSessionL | ( | ) | [private] |
Ends the current recognition session. Resources allocated for recognition are freed.
- Since
- 2.0
DoEndRecordL(TMMFMessage &)
Stops recording (recognizing).
- Since
- 2.8
Parameters
TMMFMessage & aMessage | message containing the information of the request. |
DoExternalizeResultSetL()
void | DoExternalizeResultSetL | ( | ) | [private] |
DoExternalizeSIResultSetL()
void | DoExternalizeSIResultSetL | ( | ) | [private] |
Externalize the speaker independent recognition result set.
- Since
- 2.0
DoExtractIntArrayFromData1L(TMMFMessage &, RArray< TInt > &)
Extract an integer array from client data 1.
- Since
- 2.0
Parameters
TMMFMessage & aMessage | message containing the information of the request. |
RArray< TInt > & aArray | RArray to contain the data on exit. |
DoExtractIntArrayFromData2L(TMMFMessage &, RArray< TInt > &)
Extract an integer array from client data 2.
- Since
- 2.0
Parameters
TMMFMessage & aMessage | message containing the information of the request. |
RArray< TInt > & aArray | RArray to contain the data on exit. |
DoExtractIntArrayL(TDes8 &, RArray< TInt > &)
void | DoExtractIntArrayL | ( | TDes8 & | aDescriptor, |
| RArray< TInt > & | aArray |
| ) | [private] |
Extract an integer array from a descriptor into an
RArray.
- Since
- 2.0
Parameters
TDes8 & aDescriptor | |
RArray< TInt > & aArray | RArray to contain the data on exit. |
DoGetAllClientGrammarIDsL()
void | DoGetAllClientGrammarIDsL | ( | ) | [private] |
Returns all grammar Ids that belong to the current client, whose UID was set with SetClientUid().
- Since
- 2.0
DoGetAllClientLexiconIDsL()
void | DoGetAllClientLexiconIDsL | ( | ) | [private] |
Returns all lexicon Ids that belong to the current client, whose UID was set with SetClientUid().
- Since
- 2.0
DoGetAllClientModelBankIDsL()
void | DoGetAllClientModelBankIDsL | ( | ) | [private] |
Returns all model bank Ids that belong to the current client, whose UID was set with SetClientUid().
- Since
- 2.0
DoGetAllGrammarIDsL()
void | DoGetAllGrammarIDsL | ( | ) | [private] |
Returns all grammar Ids that exist (for all clients).
- Since
- 2.0
DoGetAllLexiconIDsL()
void | DoGetAllLexiconIDsL | ( | ) | [private] |
Returns all lexicon Ids that exist (for all clients).
- Since
- 2.0
DoGetAllModelBankIDsL()
void | DoGetAllModelBankIDsL | ( | ) | [private] |
Returns all model bank Ids that exist (for all clients).
- Since
- 2.0
DoGetAllModelIDsL(TMMFMessage &)
Returns all model Ids that exist in the specified model bank.
- Since
- 2.0
Parameters
TMMFMessage & aMessage | message containing the information of the request. |
DoGetAllPronunciationIDsL(TMMFMessage &)
void | DoGetAllPronunciationIDsL | ( | TMMFMessage & | aMessage | ) | [private] |
Returns all pronunciation Ids that exist in the specified lexicon.
- Since
- 2.0
Parameters
TMMFMessage & aMessage | message containing the information of the request. |
DoGetAllRuleIDsL(TMMFMessage &)
Returns all rule Ids that exist in the specified grammar.
- Since
- 2.0
Parameters
TMMFMessage & aMessage | message containing the information of the request. |
DoGetAvailableStorageL(TMMFMessage &)
void | DoGetAvailableStorageL | ( | TMMFMessage & | aMessage | ) | [private] |
Returns the number of models available for training system wide, based on available disk space.
- Since
- 2.0
Parameters
TMMFMessage & aMessage | message containing the information of the request. |
DoGetEnginePropertiesL(TMMFMessage &)
void | DoGetEnginePropertiesL | ( | TMMFMessage & | aMessage | ) | [private] |
Returns the engine properties.
- Since
- 2.0
Parameters
TMMFMessage & aMessage | message containing the information of the request. |
DoGetModelCountL(TMMFMessage &)
Returns the number of models in the specified model bank.
- Since
- 2.0
Parameters
TMMFMessage & aMessage | message containing the information of the request. |
DoGetRuleValidityL(TMMFMessage &)
Checks if the rule is valid or not.
- Since
- 2.0
Parameters
TMMFMessage & aMessage | message containing the information of the request. |
DoGetUtteranceDurationL(TMMFMessage &)
void | DoGetUtteranceDurationL | ( | TMMFMessage & | aMessage | ) | [private] |
Returns the duration of the utterance for the specified model.
- Since
- 2.0
Parameters
TMMFMessage & aMessage | message containing the information of the request. |
DoHandleRequestL(TMMFMessage &)
Private method to handle the request from the client
- Since
- 2.0
Parameters
TMMFMessage & aMessage | message containing the information of the request. |
DoLoadEngineParametersL(TMMFMessage &)
void | DoLoadEngineParametersL | ( | TMMFMessage & | aMessage | ) | [private] |
Loads the specified parameters into the engine.
- Since
- 2.0
Parameters
TMMFMessage & aMessage | message containing the information of the request. |
DoLoadGrammarL(TMMFMessage &)
Loads a gramamr. Grammars must be loaded prior to recognition.
Parameters
TMMFMessage & aMessage | message containing the information of the request. |
DoLoadLexiconL(TMMFMessage &)
Loads the specified lexicon into the recognizer; done prior to recognition.
- Since
- 2.0
Parameters
TMMFMessage & aMessage | message containing the information of the request. |
DoLoadModelsL(TMMFMessage &)
Loads the specified model bank into the recognizer; done prior to recognition..
- Since
- 2.0
Parameters
TMMFMessage & aMessage | message containing the information of the request. |
DoPlayUtteranceL(TMMFMessage &)
Plays the previously trained utterance.
- Since
- 2.0
Parameters
TMMFMessage & aMessage | message containing the information of the request. |
DoPreStartSamplingL(TMMFMessage &)
void | DoPreStartSamplingL | ( | TMMFMessage & | aMessage | ) | [private] |
Parameters
TMMFMessage & aMessage | Message containing the information of the request. |
DoRecognizeL(TMMFMessage &)
Initiates recognition; performed following loading of model bank, lexicon, and grammar.
- Since
- 2.0
Parameters
TMMFMessage & aMessage | message containing the information of the request. |
DoRecognizeSIL(TMMFMessage &)
Starts speaker independent recognition.
- Since
- 2.8
Parameters
TMMFMessage & aMessage | message containing the information of the request. |
DoRecordL(TMMFMessage &)
Records uder utterance for training and recognition.
- Since
- 2.0
Parameters
TMMFMessage & aMessage | message containing the information of the request. |
DoRemoveGrammarL(TMMFMessage &)
Removes the specified grammar from the permanent storage. Removing a grammar will remove all rules within the grammar.
- Since
- 2.0
Parameters
TMMFMessage & aMessage | message containing the information of the request. |
DoRemoveLexiconL(TMMFMessage &)
Removes the specified lexicon from the permanent storage. Removing a lexicon will remove all pronunciations within the lexicon.
- Since
- 2.0
Parameters
TMMFMessage & aMessage | message containing the information of the request. |
DoRemoveModelBankL(TMMFMessage &)
Removes the specified model bank from the permanent storage. Removing a model bank will remove all models within the model bank.
- Since
- 2.0
Parameters
TMMFMessage & aMessage | message containing the information of the request. |
DoRemoveModelL(TMMFMessage &)
Removes the specified model from the specified model bank permanently.
- Since
- 2.0
Parameters
TMMFMessage & aMessage | message containing the information of the request. |
DoRemovePronunciationL(TMMFMessage &)
void | DoRemovePronunciationL | ( | TMMFMessage & | aMessage | ) | [private] |
Removes the specified pronunciation from the specified lexicon permanently.
- Since
- 2.0
Parameters
TMMFMessage & aMessage | message containing the information of the request. |
DoRemoveRuleL(TMMFMessage &)
Removes the specified rule from the specified grammar permanently.
- Since
- 2.0
Parameters
TMMFMessage & aMessage | message containing the information of the request. |
DoRemoveRulesL(TMMFMessage &)
Removes the specified rules from the specified grammar permanently
Parameters
TMMFMessage & aMessage | message containing the information of the request. |
DoSetClientUidL(TMMFMessage &)
Sets the client's UID for data ownership identification.
- Since
- 2.0
Parameters
TMMFMessage & aMessage | message containing the information of the request. |
DoStartRecSessionL(TMMFMessage &)
Starts a new recognition session.
- Since
- 2.0
Parameters
TMMFMessage & aMessage | message containing the information of the request. |
DoTrainL(TMMFMessage &)
Trains a new model into the specified model bank.
- Since
- 2.0
Parameters
TMMFMessage & aMessage | message containing the information of the request. |
DoUnloadGrammarL(TMMFMessage &)
Deactivates a grammar from the recognition vocabulary.
- Since
- 2.8
Parameters
TMMFMessage & aMessage | message containing the information of the request. |
DoUnloadRuleL(TMMFMessage &)
Unloads the specified rule from the specified grammar in temporary memory, previously loaded with LoadGrammarL. The rule in the permanent storage remains intact.
- Since
- 2.0
Parameters
TMMFMessage & aMessage | message containing the information of the request. |
HandleRequest(TMMFMessage &)
Handles the request from the client
- Since
- 2.0
Parameters
TMMFMessage & aMessage | message containing the information of the request. |
NewL(MSISpeechRecognitionCustomCommandImplementor &)
Factory function for creating this class.
- Since
- 2.0
Member Data Documentation
CSIClientResultSet * iAdaptationSet
RArray< TSIGrammarID > iGrammarIDs
MSISpeechRecognitionCustomCommandImplementor & iImplementor
RArray< TLanguage > iLanguageArray
RArray< RLanguageArray > iLanguageArrayArray
RArray< TSILexiconID > iLexiconIDs
RArray< TSIModelBankID > iModelBankIDs
RArray< TSIModelID > iModelIDs
RArray< TSIPronunciationID > iPronunciationIDs
TAny * iReservedPtr_1
TAny * | iReservedPtr_1 | [private] |
TAny * iReservedPtr_2
TAny * | iReservedPtr_2 | [private] |
CBufFlat * iResultCopyBuffer
CSDClientResultSet * iResultSet
CSDClientResultSet * | iResultSet | [private] |
RArray< TSIRuleID > iRuleIDs
CSIClientResultSet * iSIResultSet
MDesCArray * iWordArray
MDesCArray * | iWordArray | [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.