CNssAdaptationItem Class Reference

class CNssAdaptationItem : public CBase

CNssAdaptationItem class Contains adaptation data.

NssVASApi.lib
Since
2.8

Inherits from

Constructor & Destructor Documentation

CNssAdaptationItem(CNssRecognitionHandler *, CSIClientResultSet *)

CNssAdaptationItem ( CNssRecognitionHandler * aRecHandlerHost,
CSIClientResultSet * aRecResult
) [private]

1st phase constructor

Parameters

CNssRecognitionHandler * aRecHandlerHost
CSIClientResultSet * aRecResult

~CNssAdaptationItem()

IMPORT_C ~CNssAdaptationItem ( )
~MNssAdaptationItem - Destructor
Since
2.8

Member Functions Documentation

AdaptL(MNssAdaptationEventHandler *, TInt)

IMPORT_C void AdaptL ( MNssAdaptationEventHandler * aHandler,
TInt aCorrect
)
AdaptL - Adapts the models using utterance and result MNssAdaptationItem
Since
2.8

Parameters

MNssAdaptationEventHandler * aHandler Adaptation handler is called when adaptation has finished.
TInt aCorrect Which result from the N-best list is the correct one.

AdaptL(MNssAdaptationEventHandler *, MNssTag &)

IMPORT_C void AdaptL ( MNssAdaptationEventHandler * aHandler,
MNssTag & aTag
)

Adapts the models using the tag information

Since
3.2

Parameters

MNssAdaptationEventHandler * aHandler Event handler for this adaptation
MNssTag & aTag Selected tag

Disable()

IMPORT_C void Disable ( )
Disable - CNssRecognitionHandler calls this function, when the handler is destroyed. It deactivates the adaptation item, since adaptation can't happen without the recognition handler host.
Since
2.8

NewL(CNssRecognitionHandler *, CSIClientResultSet *)

IMPORT_C CNssAdaptationItem * NewL ( CNssRecognitionHandler * aRecHandlerHost,
CSIClientResultSet * aRecResult
) [static]
NewL - 2-phase constructor
Since
2.8

Parameters

CNssRecognitionHandler * aRecHandlerHost The recognition handler, which created this item.
CSIClientResultSet * aRecResult Recognition result contains the data required for adaptation.

Member Enumerations Documentation

Enum TNssRejectTagError

Enumerators

EVasErrorNone
EVasRejectTagFailed
EVasNoTagInContexts
EVasRecognizeUndefinedError10
EVasRecognizeUndefinedError9
EVasRecognizeUndefinedError8
EVasRecognizeUndefinedError7
EVasRecognizeUndefinedError6
EVasRecognizeUndefinedError5
EVasRecognizeUndefinedError4
EVasRecognizeUndefinedError3
EVasRecognizeUndefinedError2
EVasRecognizeUndefinedError1

Member Data Documentation

CSIClientResultSet * iAdaptationData

CSIClientResultSet * iAdaptationData [private]

TBool iIsActive

TBool iIsActive [private]

CNssRecognitionHandler * iRecHandler

CNssRecognitionHandler * iRecHandler [private]