|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.csapi.jr.se.ui.UIRecognitionProperty
Defines the Sequence of Data Elements that specify the additional properties for the recognition engine. The TpUIRecognitionProperty is a hint to the recognition engine on how it should interpret the input. The defined properties are: P_RECOGNITION_PROPERTY_CONFIDENCE_LEVEL - The speech recognition confidence level, a float value in the range of 0.0 to 1.0. Results are rejected when the recognitions engine's confidence in its interpretation is below this threshold. A value of 0.0 means minimum confidence is needed for a recognition, and a value of 1.0 requires maximum confidence. The default value is 0.5. P_RECOGNITION_PROPERTY_SENSITIVITY - Set the sensitivity level. A value of 1.0 means that it is highly sensitive to quiet input. A value of 0.0 means it is least sensitive to noise. The default value is 0.5. P_RECOGNITION_PROPERTY_SPEEDVSACCURACY - A hint specifying the desired balance between speed vs. accuracy. A value of 0.0 means fastest recognition. A value of 1.0 means best accuracy. The default is value 0.5. P_RECOGNITION_PROPERTY_COMPLETE_TIMEOUT - The speech timeout value to use when an active grammar is matched.
Constructor Summary | |
UIRecognitionProperty()
Creates a new UIRecognitionProperty instance. |
|
UIRecognitionProperty(java.lang.String _propertyName,
java.lang.String _propertyValue)
Creates a new UIRecognitionProperty instance. |
Method Summary | |
boolean |
equals(java.lang.Object o)
Indicates whether some other object is 'equal to' this one. |
java.lang.String |
getPropertyName()
This method returns a propertyName. |
java.lang.String |
getPropertyValue()
This method returns a propertyValue. |
int |
hashCode()
Returns a hashcode value for the object. |
void |
setPropertyName(java.lang.String propertyName)
This method sets a propertyName. |
void |
setPropertyValue(java.lang.String propertyValue)
This method sets a propertyValue. |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public UIRecognitionProperty()
public UIRecognitionProperty(java.lang.String _propertyName, java.lang.String _propertyValue)
_propertyName
- Defines the name of the property._propertyValue
- Defines the value of the property.Method Detail |
public java.lang.String getPropertyName()
public java.lang.String getPropertyValue()
public void setPropertyName(java.lang.String propertyName)
public void setPropertyValue(java.lang.String propertyValue)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |