CASRSRecognitionHwDevice Class Reference
class CASRSRecognitionHwDevice : public CASRSHwDevice
|
Recognition HW Device
asrsrecognitionhwdevice.lib
-
Since
-
2.8
Constructor & Destructor Documentation
CASRSRecognitionHwDevice()
CASRSRecognitionHwDevice
|
(
|
)
|
[private]
|
~CASRSRecognitionHwDevice()
IMPORT_C
|
~CASRSRecognitionHwDevice
|
(
|
)
|
[virtual]
|
Member Functions Documentation
Clear()
IMPORT_C void
|
Clear
|
(
|
)
|
[virtual]
|
ConstructL(MASRSRecognitionHwDeviceObserver &)
By default Symbian 2nd phase constructor is private.
CustomInterface(TUid)
IMPORT_C
TAny
*
|
CustomInterface
|
(
|
TUid
|
aInterfaceId
|
)
|
[virtual]
|
Parameters
TUid
aInterfaceId
|
Identifier of the intercace implementation
|
GetRejection()
Gets the rejection threshold.
-
Since
-
2.8
InitRecognizerBEL(const TDesC8 &, const CSIModelBank &)
IMPORT_C void
|
InitRecognizerBEL
|
(
|
const
TDesC8
&
|
aRecognitionData,
|
|
const
CSIModelBank
&
|
aModels
|
|
)
|
|
This method initializes the backend of the recognition Hw device.
-
Since
-
2.8
Parameters
const
TDesC8
& aRecognitionData
|
A recognition data generated by grammar compilation.
|
const
CSIModelBank
& aModels
|
A model bank containing acoustic models
|
InitRecognizerFEL(TBool)
IMPORT_C void
|
InitRecognizerFEL
|
(
|
TBool
|
aSendFeatureVectors = EFalse
|
)
|
|
This method initialize the frontend of the recognition Hwdevice
-
Since
-
2.8
Parameters
TBool
aSendFeatureVectors = EFalse
|
|
InitializeL()
IMPORT_C void
|
InitializeL
|
(
|
)
|
[virtual]
|
NewL(MASRSRecognitionHwDeviceObserver &)
SendSpeechData(TPtrC8 &, TBool)
IMPORT_C void
|
SendSpeechData
|
(
|
TPtrC8
&
|
aBuffer,
|
|
TBool
|
aEnd
|
|
)
|
|
Use to send utterance data
-
Since
-
2.8
Parameters
TPtrC8
& aBuffer
|
Buffer containing utterance data.
|
TBool
aEnd
|
End of utterance data indicator. ETrue indicates end of data or no data.
|
SetNBest(TUint32)
IMPORT_C void
|
SetNBest
|
(
|
TUint32
|
aNBest
|
)
|
|
Sets the maximum number of entries wanted in the ranked list of recognition results.
-
Since
-
2.8
SetRejection(TUint32)
IMPORT_C void
|
SetRejection
|
(
|
TUint32
|
aRejection
|
)
|
|
Sets the rejection threshold.
-
Since
-
3.2
Parameters
TUint32
aRejection
|
Rejection threshold value.
|
StartRecognitionL(RArray< TUint > &, RArray< TInt > &)
Start recognition
-
Since
-
2.8
Parameters
RArray
<
TUint
> & aNBestList
|
At the end of recognition, this object will contain Nbest list IDs.
|
RArray
<
TInt
> & aScore
|
At the end of recognition, this object will contain scores for Nbest list.
|
StopRecognition()
IMPORT_C void
|
StopRecognition
|
(
|
)
|
|
Stop a started recognition process.
-
Since
-
2.8
Member Data Documentation
CRecognitionAlgorithm * iRecAlgorithm
CRecognitionAlgorithm *
|
iRecAlgorithm
|
[private]
|
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.