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 |
android.speech.recognition.NBestRecognitionResult.Entry.Entry | ( | ) | [protected] |
Prevent construction.
virtual android.speech.recognition.NBestRecognitionResult.Entry.~Entry | ( | ) | [protected, virtual] |
Prevent destruction.
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.
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.
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.
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).
returnCode | NOT_SUPPORTED if the engine does not generate a confidence score for this n-best entry. |