CASRSVocManHwDevice Class Reference
class CASRSVocManHwDevice : public CASRSHwDevice |
Class for pruning When the grammar starts to get big, this class can prune least used rule variants away before adding new rules.
AsrsVocmanHwDevice.dll
- Since
- ?Series60_version
Constructor & Destructor Documentation
CASRSVocManHwDevice()
CASRSVocManHwDevice | ( | ) | [private] |
From ?base_class ?member_description.
- Since
- ?Series60_version
- Since
- ?Series60_version
~CASRSVocManHwDevice()
IMPORT_C | ~CASRSVocManHwDevice | ( | ) | [virtual] |
Member Functions Documentation
AdaptL(const TSIRuleVariantID, CSIRule &)
Use to adapt rule after recognition
- Since
- 2.6
Parameters
const TSIRuleVariantID aCorrectRuleVariantID | Correctly recognized rule variant |
CSIRule & aRule | Rule including correct variant |
Clear()
From CASRHwDevice Clear HW Device's allocated memory
- Since
- 2.8
ComputeNRuleVariantsL(const CSIGrammar &, const TUint32, const TUint32, const RArray< TUint > &, RArray< TUint > &, TUint32 &)
Use to determine number of new rule variants
- Since
- 2.6
Parameters
const CSIGrammar & aGrammar | Grammar where new variants should be added to |
const TUint32 aTargetNRuleVariants | Target number of rule variants in the grammar |
const TUint32 aMaxNRuleVariants | Maximum number of rule variants in the grammar |
const RArray< TUint > & aNewRuleScores | Score for each new rule |
RArray< TUint > & aNNewRuleVariants | |
TUint32 & aNPrune | |
ConstructL()
void | ConstructL | ( | ) | [private] |
By default Symbian 2nd phase constructor is private.
CustomInterface(TUid)
TAny * | CustomInterface | ( | TUid | aInterfaceUid | ) | [virtual] |
From CASRHwDevice Gets a custom interface
- Since
- 2.8
Parameters
TUid aInterfaceUid | Uid of the interface. |
InitializeL()
void | InitializeL | ( | ) | [virtual] |
From CASRHwDevice Initializes the HW Device
- Since
- 2.8
Prune(const CSIGrammar &, TUint32, RArray< TSIRuleVariantInfo > &)
Use to prune grammar.
- Since
- 2.6
Member Data Documentation
CVocManAlgorithm * iVMAlgorithm
CVocManAlgorithm * | iVMAlgorithm | [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.