CASRSGrCompilerHwDevice Class Reference
class CASRSGrCompilerHwDevice : public CASRSHwDevice
|
Grammar compilation algortithms
asrgrcompilerhwdevice.lib
-
Since
-
2.8
Constructor & Destructor Documentation
CASRSGrCompilerHwDevice(MASRSGrCompilerHwDeviceObserver &)
CASRSGrCompilerHwDevice(const CASRSGrCompilerHwDevice &)
~CASRSGrCompilerHwDevice()
IMPORT_C
|
~CASRSGrCompilerHwDevice
|
(
|
)
|
[virtual]
|
Member Functions Documentation
CancelCombination()
IMPORT_C void
|
CancelCombination
|
(
|
)
|
|
Cancels grammar combination. No callback is sent to the client.
-
Since
-
2.8
CancelCompilation()
IMPORT_C void
|
CancelCompilation
|
(
|
)
|
|
Cancels grammar compilation. No callback is sent to the client.
-
Since
-
2.8
CombineGrammarL(const RPointerArray< CSICompiledGrammar > &, const RPointerArray< TSIRuleVariantInfo > &)
Combines several speaker independent grammars. The result is a combined grammar in internal data format. If some rules are excluded (blacklisted), then they are absent from the combined grammar, but the compiled grammars are left untouched.
-
Since
-
2.8
CompileGrammarL(CSICompiledGrammar &)
Compiles a speaker independent grammar. Asynchronous. Callback is MghdoGrammarCompilerComplete.
-
Since
-
2.8
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
By default Symbian 2nd phase constructor is private.
CustomInterface(TUid)
IMPORT_C
TAny
*
|
CustomInterface
|
(
|
TUid
|
aInterfaceId
|
)
|
[virtual]
|
Parameters
TUid
aInterfaceId
|
- UID of the interface
|
InitializeL()
IMPORT_C void
|
InitializeL
|
(
|
)
|
[virtual]
|
From
CASRSHwDevice
Initializes the device. Subsequent calls reset the device.
-
Since
-
2.8
NewL(MASRSGrCompilerHwDeviceObserver &)
ResolveResult(const RArray< TUint > &, CSIResultSet &, const RPointerArray< CSICompiledGrammar > &, const TDesC8 &)
Decodes an N-Best list from internal format into a recognition result.
-
Since
-
2.8
Parameters
const
RArray
<
TUint
> & aNBestIDs
|
- N-Best result, as it came from the Recognition HW Device
|
CSIResultSet
& aSIResultSet
|
- Empty recognition result to be populated.
|
const
RPointerArray
<
CSICompiledGrammar
> & aSICompiledGrammar
|
- The grammars, which were combined to get aCombinedGrammar
|
const
TDesC8
& aCombinedData
|
- The combined grammar, which was used in recognition
|
operator=(const CASRSGrCompilerHwDevice &)
Member Data Documentation
CAsrsGrCompilerAlgorithm * iAlgorithm
CAsrsGrCompilerAlgorithm *
|
iAlgorithm
|
[private]
|
TBool
iIsInitialised
TBool
|
iIsInitialised
|
[private]
|
MASRSGrCompilerHwDeviceObserver & iObserver
TAny * iReserved
TAny
*
|
iReserved
|
[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.