com.nuance.nmdp.speechkit
Class Recognizer.EndOfSpeechDetection

java.lang.Object
  extended by com.nuance.nmdp.speechkit.Recognizer.EndOfSpeechDetection
Enclosing interface:
Recognizer

public static class Recognizer.EndOfSpeechDetection
extends java.lang.Object

These constants define the various end-of-speech detection models for the detection parameter of SpeechKit.createRecognizer(java.lang.String, int, java.lang.String, com.nuance.nmdp.speechkit.Recognizer.Listener, android.os.Handler)().


Field Summary
static int Long
          Detect the end of a longer phrase, sentence or sentences that may have brief pauses.
static int None
          Do not detect the end of speech.
static int Short
          Detect the end of a short phrase with no pauses.
 
Constructor Summary
Recognizer.EndOfSpeechDetection()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

None

public static final int None
Do not detect the end of speech.

See Also:
Constant Field Values

Short

public static final int Short
Detect the end of a short phrase with no pauses. Because this model does not tolerate much silence once speech has started, it detects the end of speech more quickly.

See Also:
Constant Field Values

Long

public static final int Long
Detect the end of a longer phrase, sentence or sentences that may have brief pauses. Because this model tolerates longer (but still brief) intervals of silence in the middle of speech, it is less likely to wrongly detect the end of speech prematurely but also takes longer to detect the end of speech when the speaker is actually finished.

See Also:
Constant Field Values
Constructor Detail

Recognizer.EndOfSpeechDetection

public Recognizer.EndOfSpeechDetection()