ISRResSpeaker::Correction

HRESULT Correction(PTCHAR pszName, WORD wConfidence);

Indicates to a speech-recognition engine which speaker actually spoke to cause this recognition result.

· Returns NOERROR if successful, or one of these error values:

E_INVALIDARG
E_OUTOFMEMORY
SRERR_NOTENOUGHDATA
SRERR_NOTSUPPORTED

pszName

[in] Address of a string that contains the name of the person who actually spoke (rather than the name reported by the engine).

wConfidence

[in] Application's level of confidence that it knows the name of the speaker. This parameter can be one of these values:

Value

Meaning

SRCORCONFIDENCE_SOME

The application is somewhat confident because the user somehow corrected the computer without explicitly telling the computer who was speaking.

SRCORCONFIDENCE_VERY

The application is very confident because the user explicitly informed it who was speaking.