Build 1.0_r1(from source)

android.speech.recognition
Interface NBestRecognitionResult.Entry

All Known Implementing Classes:
EntryImpl
Enclosing interface:
NBestRecognitionResult

public static interface NBestRecognitionResult.Entry

Recognition result entry


Method Summary
 String get(String key)
          Returns the value associated with the specified key.
 byte getConfidenceScore()
          The confidence score of a recognition result.
 String getLiteralMeaning()
          Returns the literal meaning of a recognition result (i.e. literally what the user said).
 String getSemanticMeaning()
          Returns the semantic meaning of a recognition result (i.e. the application-specific value associated with what the user said).
 Enumeration keys()
          Returns an enumeration of the keys in this Entry.
 

Method Detail

getSemanticMeaning

String getSemanticMeaning()
                          throws IllegalStateException
Returns 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.

Returns:
the semantic meaning of a recognition result.
Throws:
IllegalStateException - if the object has been disposed

getConfidenceScore

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

Returns:
the confidence score of a recognition result.
Throws:
IllegalStateException - if the object has been disposed

getLiteralMeaning

String getLiteralMeaning()
                         throws IllegalStateException
Returns 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.

Returns:
the literal meaning of a recognition result.
Throws:
IllegalStateException - if the object has been disposed

get

String get(String key)
Returns the value associated with the specified key.

Parameters:
key - the key to look up
Returns:
the associated value or null if this entry does not contain any mapping for the key

keys

Enumeration keys()
Returns an enumeration of the keys in this Entry.

Returns:
an enumeration of the keys in this Entry.

Build 1.0_r1(from source)

Please submit a feedback, bug or feature