android.speech.recognition.NBestRecognitionResult.Entry Class Reference

List of all members.


Detailed Description

NBestList entry.

See also:
NBestRecognitionResult
Author:
Gili Tzabari, Marc Robitaille

Public Member Functions

virtual ARRAY_LIMIT getKeyCount () const =0
virtual const char
*const * 
getKeys ()=0
virtual const char * getValue (const char *key, ReturnCode::Type &returnCode) const =0
virtual const char * getLiteralMeaning (ReturnCode::Type &returnCode) const =0
virtual const char * getSemanticMeaning (ReturnCode::Type &returnCode) const =0
virtual UINT8 getConfidenceScore (ReturnCode::Type &returnCode) const =0

Protected Member Functions

 Entry ()
virtual ~Entry ()

Friends

class EntryProxy

Constructor & Destructor Documentation

android.speech.recognition.NBestRecognitionResult.Entry.Entry (  )  [protected]

Prevent construction.

virtual android.speech.recognition.NBestRecognitionResult.Entry.~Entry (  )  [protected, virtual]

Prevent destruction.


Member Function Documentation

virtual ARRAY_LIMIT android.speech.recognition.NBestRecognitionResult.Entry.getKeyCount (  )  const [pure virtual]

Returns the number of semantic key-value pairs.

virtual const char* const* android.speech.recognition.NBestRecognitionResult.Entry.getKeys (  )  [pure virtual]

Returns the keys associated with the nbest entry.

virtual const char* android.speech.recognition.NBestRecognitionResult.Entry.getValue ( const char *  key,
ReturnCode::Type returnCode 
) const [pure virtual]

Returns the values associated with the nbest entry.

Parameters:
key the semantic key to look up
returnCode the return code

virtual const char* android.speech.recognition.NBestRecognitionResult.Entry.getLiteralMeaning ( ReturnCode::Type returnCode  )  const [pure virtual]

The literal meaning of a recognition result (i.e. literally what the user said). In an example where a person's name is mapped to a phone-number, the person's name is the literal meaning.

Parameters:
returnCode the return code

virtual const char* android.speech.recognition.NBestRecognitionResult.Entry.getSemanticMeaning ( ReturnCode::Type returnCode  )  const [pure virtual]

The semantic meaning of a recognition result (i.e. the application-specific value associated with what the user said). In an example where a person's name is mapped to a phone-number, the phone-number is the semantic meaning.

Parameters:
returnCode the return code

virtual UINT8 android.speech.recognition.NBestRecognitionResult.Entry.getConfidenceScore ( ReturnCode::Type returnCode  )  const [pure virtual]

The confidence score of a recognition result. Values range from 0 to 100 (inclusive).

Parameters:
returnCode NOT_SUPPORTED if the engine does not generate a confidence score for this n-best entry.


Generated on Thu May 1 17:16:49 2008 for UAPI by  doxygen 1.5.3