CVMAlgorithmManager Class Reference
class CVMAlgorithmManager : public CBase |
Algorithm manager to handle VocMan, Ttp and Grammar Compiler
Public Member Functions |
---|
| ~CVMAlgorithmManager() |
void | AdaptVocabL(const CSIResultSet &, TInt) |
void | Cancel() |
void | CombineGrammarL(const RPointerArray< CSICompiledGrammar > &, const RPointerArray< TSIRuleVariantInfo > &) |
void | CompileGrammarL(CSICompiledGrammar &) |
void | ComputeNewGrammarSizeL(const CSIGrammar &, const TUint32, const TUint32, const RArray< TUint > &, RArray< TUint > &, TUint32 &) |
void | GetEnginePropertiesL(const RArray< TInt > &, RArray< TInt > &) |
void | LoadEnginePropertiesL(const RArray< TInt > &, const RArray< TInt > &) |
HBufC8 * | MathdoConfigurationData(TUint32, TUint32, TUint32, TUint32) |
void | MathdoWordListReady(const TInt) |
HBufC8 * | MghdoConfigurationData(TUint32, TUint32, TUint32, TUint32) |
void | MghdoGrammarCombinerComplete(HBufC8 *, TInt) |
void | MghdoGrammarCompilerComplete(TInt) |
CSILexicon * | MghdoSILexiconL(TSILexiconID) |
CVMAlgorithmManager * | NewL(MDevASRObserver &, MVmAlgMgrObserver &) |
TBool
| PruneGrammar(const CSIGrammar &, const TUint32, RArray< TSIRuleVariantInfo > &) |
void | ResolveResult(const RArray< TUint > &, CSIResultSet &, const RPointerArray< CSICompiledGrammar > &, const TDesC8 &) |
void | TrainFromTextL(CSITtpWordList &, const RArray< TLanguage > &, const RArray< TUint32 > &) |
Constructor & Destructor Documentation
CVMAlgorithmManager(MDevASRObserver &, MVmAlgMgrObserver &)
CVMAlgorithmManager(const CVMAlgorithmManager &)
~CVMAlgorithmManager()
~CVMAlgorithmManager | ( | ) | [virtual] |
Member Functions Documentation
AdaptVocabL(const CSIResultSet &, TInt)
Use to adapt rule after recognition.
CombineGrammarL(const RPointerArray< CSICompiledGrammar > &, const RPointerArray< TSIRuleVariantInfo > &)
Invoked when grammar combining is needed
CompileGrammarL(CSICompiledGrammar &)
Compiles SI or SD grammar to internal format.
ComputeNewGrammarSizeL(const CSIGrammar &, const TUint32, const TUint32, const RArray< TUint > &, RArray< TUint > &, TUint32 &)
Computes number of rule variants for grammar.
ConstructL()
void | ConstructL | ( | ) | [private] |
By default Symbian 2nd phase constructor is private.
GetEnginePropertiesL(const RArray< TInt > &, RArray< TInt > &)
Retreive the properties of the engines.
LoadEnginePropertiesL(const RArray< TInt > &, const RArray< TInt > &)
void | LoadEnginePropertiesL | ( | const RArray< TInt > & | aParameterId, |
| const RArray< TInt > & | aParameterValue |
| ) | |
Load the specified parameter(s) to the engines.
MathdoConfigurationData(TUint32, TUint32, TUint32, TUint32)
Callback function to load configuration data.
MathdoWordListReady(const TInt)
void | MathdoWordListReady | ( | const TInt | aError | ) | |
Callback function to notify that word list is converted.
MghdoConfigurationData(TUint32, TUint32, TUint32, TUint32)
Called when GrCompiler needs configuration data package
MghdoGrammarCombinerComplete(HBufC8 *, TInt)
void | MghdoGrammarCombinerComplete | ( | HBufC8 * | aResult, |
| TInt | aError |
| ) | |
Grammars have been combined.
MghdoGrammarCompilerComplete(TInt)
void | MghdoGrammarCompilerComplete | ( | TInt | aError | ) | |
Grammar has been compiled.
MghdoSILexiconL(TSILexiconID)
Called when GrCompilerHwDevice needs an SI lexicon.
NewL(MDevASRObserver &, MVmAlgMgrObserver &)
PruneGrammar(const CSIGrammar &, const TUint32, RArray< TSIRuleVariantInfo > &)
Determines which rule variants can be removed.
ResolveResult(const RArray< TUint > &, CSIResultSet &, const RPointerArray< CSICompiledGrammar > &, const TDesC8 &)
Resolves result using Grammar Compiler.
TrainFromTextL(CSITtpWordList &, const RArray< TLanguage > &, const RArray< TUint32 > &)
Starts training from text.
operator=(const CVMAlgorithmManager &)
Member Data Documentation
CASRSGrCompilerHwDevice * iGrCompiler
TGrCompilerState
iGrState
MDevASRObserver & iObserver
MVmAlgMgrObserver & iVmAlgObserver
CASRSVocManHwDevice * iVocMan
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.