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 voidAdaptL(MNssAdaptationEventHandler *aHandler,
TIntaCorrect
)
AdaptL - Adapts the models using utterance and result MNssAdaptationItem
Since
2.8

Parameters

MNssAdaptationEventHandler * aHandlerAdaptation handler is called when adaptation has finished.
TInt aCorrectWhich result from the N-best list is the correct one.

AdaptL(MNssAdaptationEventHandler *, MNssTag &)

IMPORT_C voidAdaptL(MNssAdaptationEventHandler *aHandler,
MNssTag &aTag
)

Adapts the models using the tag information

Since
3.2

Parameters

MNssAdaptationEventHandler * aHandlerEvent handler for this adaptation
MNssTag & aTagSelected tag

Disable()

IMPORT_C voidDisable()
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 * aRecHandlerHostThe recognition handler, which created this item.
CSIClientResultSet * aRecResultRecognition 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]