A B C D E F G H I J L M N O P Q R S T U V W X
A
- ABBREVIATION -
Static variable in class Word
- Grammatical category of
Word
is an abbreviation or acronym.
- ACCEPTED -
Static variable in interface Result
- A state indicating that recognition of the
Result
is completed
and has been finalized by being accepted.
- ACOUSTIC -
Static variable in class Word
- Grammatical category of
Word
is an acoustically-derived
pronunciation.
- ACTIVATION_FOCUS -
Static variable in interface Grammar
- Constant representing the default activation mode for a
Grammar
loaded directly by the GrammarManager
.
- ACTIVATION_GLOBAL -
Static variable in interface Grammar
- Constant value representing the activation mode in which this
Grammar
is active for recognition
irrespective of the recognition focus state.
- ACTIVATION_INDIRECT -
Static variable in interface Grammar
- Constant representing the activation mode for a
Grammar
used indirectly by other Grammar
s.
- ACTIVATION_MODAL -
Static variable in interface Grammar
- Constant representing an activation mode for a
Grammar
that can also deactivate other active Grammar
s.
- ADAPT_PAUSED -
Static variable in interface RecognizerProperties
- A value signifying that adaptation may occur while
PAUSED
.
- ADAPT_RESUMED -
Static variable in interface RecognizerProperties
- A value signifying that adaptation may occur while
RESUMED
.
- addAudioListener(AudioListener) -
Method in interface AudioManager
- Requests notifications of
AudioEvent
s to
an AudioListener
.
- addElement(String) -
Method in interface RuleGrammar
- Specifies an
element
within this RuleGrammar
.
- addEnginePropertyListener(EnginePropertyListener) -
Method in interface EngineProperties
- Adds an
EnginePropertyListener
to this EngineProperties
object.
- addGrammarListener(GrammarListener) -
Method in interface Grammar
- Requests notifications of
GrammarEvent
s related
to this Grammar
.
- addGrammarListener(GrammarListener) -
Method in interface GrammarManager
- Requests notifications of
GrammarEvent
s related to
Grammar
s managed by this GrammarManager
.
- addRecognizerListener(RecognizerListener) -
Method in interface Recognizer
- Requests notifications of
RecognizerEvent
s related to
this Recognizer
.
- addResultListener(ResultListener) -
Method in interface Grammar
- Requests notifications of
ResultEvent
s from any Result
that matches this Grammar
.
- addResultListener(ResultListener) -
Method in interface Recognizer
- Requests notifications of all
ResultEvent
s for all
Result
s produced by this Recognizer
.
- addResultListener(ResultListener) -
Method in interface Result
- Requests notifications of
ResultEvent
s related to
this Result
.
- addRule(Rule) -
Method in interface RuleGrammar
- Adds a
Rule
to this RuleGrammar
.
- addRule(String) -
Method in interface RuleGrammar
- Adds a
Rule
represented in grammar text
to this RuleGrammar
.
- addRules(Rule[]) -
Method in interface RuleGrammar
- Adds an array of
Rule
s to this RuleGrammar
.
- addSpeakableListener(SpeakableListener) -
Method in interface Synthesizer
- Request notifications of all
SpeakableEvent
s for all
items on the Synthesizer
output queue.
- addSynthesizerListener(SynthesizerListener) -
Method in interface Synthesizer
- Request notifications of events related to
general operation of this
Synthesizer
.
- addWord(Word) -
Method in interface VocabularyManager
- Adds a
Word
to this VocabularyManager
.
- addWords(Word[]) -
Method in interface VocabularyManager
- Adds an array of
Word
s to this VocabularyManager
.
- ADJECTIVE -
Static variable in class Word
- Grammatical category of
Word
is adjective.
- ADVERB -
Static variable in class Word
- Grammatical category of
Word
is adverb.
- AGE_CHILD -
Static variable in class Voice
- Constant representing the
Voice
of a child.
- AGE_DONT_CARE -
Static variable in class Voice
- Constant that will
match
with any age.
- AGE_MIDDLE_ADULT -
Static variable in class Voice
- Constant representing the
Voice
of a middle-aged adult.
- AGE_OLDER_ADULT -
Static variable in class Voice
- Constant representing the
Voice
of an older adult.
- AGE_SPECIFIC -
Static variable in class Voice
- Constant flag to limit an age value to a single value.
- AGE_TEENAGER -
Static variable in class Voice
- Constant representing the
Voice
of a teenager.
- AGE_YOUNGER_ADULT -
Static variable in class Voice
- Constant representing the
Voice
of a younger adult.
- allocate() -
Method in interface Engine
- Allocates the resources required for this
Engine
and puts it into
the ALLOCATED
state.
- allocate(int) -
Method in interface Engine
- Allocates the resources required for this
Engine
using the mode
specified
and puts it into the ALLOCATED
state.
- allocate() -
Method in interface Recognizer
- Allocates the resources required for this
Engine
and puts it into
the ALLOCATED
state.
- allocate(int) -
Method in interface Recognizer
- Allocates the resources required for this
Engine
using the mode
specified
and puts it into the ALLOCATED
state.
- allocate() -
Method in interface Synthesizer
- Allocates the resources required for this
Engine
and puts it into
the ALLOCATED
state.
- allocate(int) -
Method in interface Synthesizer
- Allocates the resources required for this
Engine
using the mode
specified
and puts it into the ALLOCATED
state.
- ALLOCATED -
Static variable in interface Engine
- Bit of state that is set when an
Engine
has been allocated.
- ALLOCATING_RESOURCES -
Static variable in interface Engine
- Bit of state that is set when an
Engine
is being allocated.
- anyMatch(EngineMode) -
Method in class EngineList
- Returns
true
if one or more EngineMode
in the
EngineList
match
the require
d features.
- ASYNCHRONOUS_MODE -
Static variable in interface Engine
- Constant value indicating asynchronous mode for a method.
- AUDIO_CHANGED -
Static variable in class AudioEvent
- Event issued when the
AudioManager
has detected a change in the
audio stream.
- AUDIO_LEVEL -
Static variable in class AudioEvent
- Event issued when the next volume level value of the incoming audio becomes available.
- AUDIO_LEVEL_LOUD -
Static variable in class AudioEvent
- The threshold for loud audio.
- AUDIO_LEVEL_MAX -
Static variable in class AudioEvent
- The maximum audio level.
- AUDIO_LEVEL_MIN -
Static variable in class AudioEvent
- The minimum audio level.
- AUDIO_LEVEL_QUIET -
Static variable in class AudioEvent
- The threshold for quiet audio.
- AUDIO_RELEASED -
Static variable in class ResultEvent
- Event issued when the audio information
associated with a
FinalResult
object is released.
- AUDIO_STARTED -
Static variable in class AudioEvent
- Event issued when the
AudioManager
has opened the audio stream.
- AUDIO_STOPPED -
Static variable in class AudioEvent
- Event issued when the
AudioManager
has detected the end of an audio stream
that it previously indicated with an AUDIO_STARTED
event.
- AudioEvent - Class in javax.speech
- Describes events associated with audio input/output for an
Engine
. - AudioEvent(Engine, int) -
Constructor for class AudioEvent
- Constructs an
AUDIO_STARTED
or AUDIO_STOPPED
AudioEvent
.
- AudioEvent(Engine, int, String) -
Constructor for class AudioEvent
- Constructs an
AUDIO_CHANGED
AudioEvent
.
- AudioEvent(Engine, int, int) -
Constructor for class AudioEvent
- Constructs an
AUDIO_LEVEL
AudioEvent
.
- AudioException - Exception in javax.speech
- Thrown when a problem is encountered connecting audio
to or from a speech
Engine
. - AudioException() -
Constructor for exception AudioException
- Constructs an
AudioException
with no detail message.
- AudioException(String) -
Constructor for exception AudioException
- Constructs an
AudioException
with more detail.
- AudioListener - Interface in javax.speech
- The listener interface for receiving events associated with the audio
input or output of an
Engine
. - AudioManager - Interface in javax.speech
- The
AudioManager
is provided by subclasses of Engine
to allow an application to control audio input/output and to monitor audio-related events. - AudioSegment - Class in javax.speech
- Associates audio data with a representation of the audio format.
- AudioSegment(String, String) -
Constructor for class AudioSegment
- Constructs an
AudioSegment
from the resource indicated
by the given media locator
.
- audioStart() -
Method in interface AudioManager
- Starts the audio for this
AudioManager
.
- audioStop() -
Method in interface AudioManager
- Stops the audio for this
AudioManager
.
- audioUpdate(AudioEvent) -
Method in interface AudioListener
- Method called back when an audio update occurs.
- AUXILIARY -
Static variable in class Word
- Grammatical category of
Word
is auxiliary.
- availableEngines(EngineMode) -
Static method in class EngineManager
- Lists available
EngineMode
objects
that match the required
features.
B
- BUFFER_MODE -
Static variable in interface Recognizer
- Flag used to indicate that audio buffering
should continue while
PAUSED
.
- BUFFERING -
Static variable in interface Recognizer
- Bit of state that is set when an
ALLOCATED
Recognizer
is buffering audio.
C
- cancel() -
Method in interface Synthesizer
- Cancels output of the current object at the top of
the
Synthesizer
output queue.
- cancel(int) -
Method in interface Synthesizer
- Removes the object specified by the
id
from
the Synthesizer
output queue.
- cancelAll() -
Method in interface Synthesizer
- Cancels all objects in the
Synthesizer
output queue and stops
speaking the current top-of-queue object.
- CARDINAL -
Static variable in class Word
- Grammatical category of
Word
is cardinal.
- CHANGES_COMMITTED -
Static variable in class RecognizerEvent
- Event issued before a
Recognizer
enters the RESUMED
state when there are successful Grammar
updates.
- CHANGES_REJECTED -
Static variable in class RecognizerEvent
- Event issued before a
Recognizer
enters the RESUMED
state when there are unsuccessful Grammar
updates.
- CONJUNCTION -
Static variable in class Word
- Grammatical category of
Word
is conjunction.
- CONTRACTION -
Static variable in class Word
- Grammatical category of
Word
is contraction.
- createEngine(EngineMode) -
Static method in class EngineManager
- Creates an
Engine
with specified required
features.
- createEngine() -
Method in interface EngineFactory
- Creates an
Engine
with the features specified
by the EngineMode
object implementing this interface.
- createEngineList(EngineMode) -
Method in interface EngineListFactory
- Creates an
EngineList
containing an EngineMode
for each mode of operation of a speech Engine
that matches
a set of required
features.
- createRuleGrammar(String, String) -
Method in interface GrammarManager
- Creates a new
RuleGrammar
for this GrammarManager
with
the specified grammarReference
and rootName
.
- createRuleGrammar(String, String, SpeechLocale) -
Method in interface GrammarManager
- Creates a new
RuleGrammar
for this GrammarManager
with the specified grammarReference
, rootName
,
and locale
.
- createSpeaker(SpeakerProfile) -
Method in interface SpeakerManager
- Creates new speaker data for a
SpeakerProfile
.
D
- deallocate() -
Method in interface Engine
- Deallocates the resources acquired for this
Engine
and returns it to the DEALLOCATED
state.
- deallocate(int) -
Method in interface Engine
- Deallocates the resources acquired for this
Engine
using the mode
specified
and returns it to the DEALLOCATED
state.
- deallocate() -
Method in interface Recognizer
- Deallocates the resources acquired for this
Engine
and returns it to the DEALLOCATED
state.
- deallocate(int) -
Method in interface Recognizer
- Deallocates the resources acquired for this
Engine
using the mode
specified
and returns it to the DEALLOCATED
state.
- deallocate() -
Method in interface Synthesizer
- Deallocates the resources acquired for this
Engine
and returns it to the DEALLOCATED
state.
- deallocate(int) -
Method in interface Synthesizer
- Deallocates the resources acquired for this
Engine
using the mode
specified
and returns it to the DEALLOCATED
state.
- DEALLOCATED -
Static variable in interface Engine
- Bit of state that is set when an
Engine
has become deallocated.
- DEALLOCATING_RESOURCES -
Static variable in interface Engine
- Bit of state that is set when an
Engine
is becoming
DEALLOCATED
.
- DEFAULT -
Static variable in class RecognizerMode
RecognizerMode
with all mode features set to "don't care" values.
- DEFAULT -
Static variable in class SpeakerProfile
- The default
SpeakerProfile
is used
if no other speaker has been set.
- DEFAULT -
Static variable in class SynthesizerMode
SynthesizerMode
with all mode features
set to "don't care" values.
- DEFAULT_MASK -
Static variable in class AudioEvent
- The default mask for events in this class.
- DEFAULT_MASK -
Static variable in class EngineEvent
- The default mask for events in this class.
- DEFAULT_MASK -
Static variable in class GrammarEvent
- The default mask for events in this class.
- DEFAULT_MASK -
Static variable in class RecognizerEvent
- The default mask for events in this class.
- DEFAULT_MASK -
Static variable in class ResultEvent
- The default mask for events in this class.
- DEFAULT_MASK -
Static variable in class SpeakableEvent
- The default mask for events in this class.
- DEFAULT_MASK -
Static variable in class SynthesizerEvent
- The default mask for events in this class.
- DEFAULT_RATE -
Static variable in interface SynthesizerProperties
- The natural speaking rate for a given
Voice
.
- DEFAULT_VOLUME -
Static variable in interface SynthesizerProperties
- The default volume level.
- DEFOCUSED -
Static variable in interface Engine
- Bit of state that is set when an
ALLOCATED
Engine
does not have the speech focus of the underlying resources.
- deleteGrammar(Grammar) -
Method in interface GrammarManager
- Deletes a
Grammar
from this GrammarManager
.
- deleteSpeaker(SpeakerProfile) -
Method in interface SpeakerManager
- Deletes the speaker data for a
SpeakerProfile
.
- DETERMINER -
Static variable in class Word
- Grammatical category of
Word
is determiner.
- DISABLE_ALL -
Static variable in class SpeechEvent
- A mask helpful in disabling all events
in a subclass of
SpeechEvent
.
- DONT_CARE -
Static variable in class Word
- Grammatical category of
Word
doesn't matter.
- DONT_KNOW -
Static variable in interface FinalResult
- Constant indicating that
the application does not know whether a change is
because of
MISRECOGNITION
or USER_CHANGE
.
E
- ELEMENT_CLOSE -
Static variable in class SpeakableEvent
- Type of
ELEMENT_REACHED
event.
- ELEMENT_OPEN -
Static variable in class SpeakableEvent
- Type of
ELEMENT_REACHED
event.
- ELEMENT_REACHED -
Static variable in class SpeakableEvent
- Event issued when audio output for an element of markup text
begins or ends.
- elementAt(int) -
Method in class EngineList
- Returns the
EngineMode
at the specified index
.
- elements() -
Method in class EngineList
- Returns an
Enumeration
of the components of this list.
- ENABLE_ALL -
Static variable in class SpeechEvent
- A mask helpful in enabling all events
in a subclass of
SpeechEvent
.
- ENDPOINT_AUTOMATIC -
Static variable in interface RecognizerProperties
- A value signifying that no application action is required for
endpointing.
- ENDPOINT_MANUAL -
Static variable in interface RecognizerProperties
- A value signifying that the application must
pause
and
resume
audio for each utterance.
- ENDPOINT_PUSH_TO_START -
Static variable in interface RecognizerProperties
- A value signifying that the endpoint is determined by a push-to-start
approach.
- ENDPOINT_PUSH_TO_TALK -
Static variable in interface RecognizerProperties
- A value signifying that the endpoint is determined by a push-to-talk
approach.
- ENDPOINT_SPEECH_DETECTION -
Static variable in interface RecognizerProperties
- A value signifying that the endpoint detection is based
on the speech signal.
- Engine - Interface in javax.speech
- Parent interface for all speech
Engine
s. - ENGINE_ALLOCATED -
Static variable in class EngineEvent
- Event issued when
Engine
allocation is complete.
- ENGINE_ALLOCATING_RESOURCES -
Static variable in class EngineEvent
- Event issued when
Engine
allocation has commenced.
- ENGINE_DEALLOCATED -
Static variable in class EngineEvent
- Event issued when
Engine
deallocation is complete.
- ENGINE_DEALLOCATING_RESOURCES -
Static variable in class EngineEvent
- Event issued when
Engine
deallocation has commenced.
- ENGINE_DEFOCUSED -
Static variable in class EngineEvent
- Event issued when an
Engine
loses focus.
- ENGINE_ERROR -
Static variable in class EngineEvent
- Event issued when an
Engine
error occurs.
- ENGINE_FOCUSED -
Static variable in class EngineEvent
- Event issued when an
Engine
gains focus.
- ENGINE_PAUSED -
Static variable in class EngineEvent
- Event issued when the
Engine
is PAUSED
.
- ENGINE_RESUMED -
Static variable in class EngineEvent
- Event issued when the
Engine
is RESUMED
.
- EngineEvent - Class in javax.speech
- Provides information to applications about changes in the state
of a speech
Engine
. - EngineEvent(Engine, int, long, long, Throwable) -
Constructor for class EngineEvent
- Constructs an
EngineEvent
to indicate a change in state.
- EngineException - Exception in javax.speech
- Thrown if a problem is found while trying to create, access or use an
Engine,
EngineFactory
, the EngineManager
, or a GrammarManager
. - EngineException() -
Constructor for exception EngineException
- Constructs an
EngineException
with no detail message.
- EngineException(String) -
Constructor for exception EngineException
- Constructs an
EngineException
with a detail message.
- EngineFactory - Interface in javax.speech.spi
- Implemented by
EngineMode
objects obtained
through calls to the EngineListFactory
objects of each speech
technology implementation registered with the EngineManager
class. - EngineList - Class in javax.speech
- Container for a set of
EngineMode
objects. - EngineList(EngineMode[]) -
Constructor for class EngineList
- Constructs the initial
EngineList
.
- EngineListener - Interface in javax.speech
- A tagging interface for
EngineEvent
listeners. - EngineListFactory - Interface in javax.speech.spi
- Provides a list of
EngineMode
objects that define the available
operating modes of a speech Engine
. - EngineManager - Class in javax.speech
- The initial access point to all speech
input and output capabilities.
- EngineMode - Class in javax.speech
- Provides information about a specific operating
mode of a speech
Engine
. - EngineMode() -
Constructor for class EngineMode
- Constructs an
EngineMode
with all mode features set
to "don't care" values.
- EngineMode(String, String, Boolean, Boolean, Boolean) -
Constructor for class EngineMode
- Constructs an
EngineMode
with the specified mode features.
- EngineProperties - Interface in javax.speech
- Defines the run-time properties of an
Engine
. - EnginePropertyEvent - Class in javax.speech
- Event issued when a value change request takes effect for
an
EngineProperties
property. - EnginePropertyEvent(EngineProperties, String, Object, Object) -
Constructor for class EnginePropertyEvent
- Constructs a new
EnginePropertyEvent
.
- EnginePropertyListener - Interface in javax.speech
- The listener interface for receiving notification of changed
properties in
EngineProperties
. - EngineStateException - Exception in javax.speech
- Thrown when there is an illegal call to a method of a speech
Engine
. - EngineStateException() -
Constructor for exception EngineStateException
- Constructs an
EngineStateException
with no detail message.
- EngineStateException(String) -
Constructor for exception EngineStateException
- Constructs an
EngineStateException
with
the specified detail message.
- equals(Object) -
Method in class EngineMode
- Returns
true
if and only if the mode
parameter
is not null
and has equal values of all
mode features with this EngineMode
.
- equals(Object) -
Method in class RecognizerMode
- Returns
true
if and only if the mode
parameter
is not null
and has equal values of all
mode features with this EngineMode
.
- equals(Object) -
Method in class SpeakerProfile
- Returns
true
if and only if the parameter is not null
and is a SpeakerProfile
with equal values.
- equals(Object) -
Method in class SpeechLocale
- Returns
true
if and only if the parameter is a non-null
SpeechLocale
with equal values for
language, country and variant.
- equals(Object) -
Method in class SynthesizerMode
- Returns
true
if and only if the mode
parameter
is not null
and has equal values of all
mode features with this EngineMode
.
- equals(Object) -
Method in class Voice
- Returns
true
if and only if the parameter is not null
and is a Voice
with equal values.
- ERROR_OCCURRED -
Static variable in interface Engine
- Bit of state that is set after an
ENGINE_ERROR
event occurs.
- execute(Runnable) -
Method in interface SpeechEventExecutor
- Executes the given command.
F
- FAST_RATE -
Static variable in interface SynthesizerProperties
- A fast speaking rate.
- FinalResult - Interface in javax.speech.recognition
- Provides information about a
Result
that has been finalized -
that is, recognition is complete. - FinalRuleResult - Interface in javax.speech.recognition
- Provides information on a finalized
Result
for
an utterance that matches a RuleGrammar
. - FOCUSED -
Static variable in interface Engine
- Bit of state that is set when an
ALLOCATED
Engine
has the speech focus of the underlying resources.
G
- GARBAGE -
Static variable in class RuleSpecial
- Special
GARBAGE
RuleComponent
that may match
any speech up until the next RuleComponent
match,
the next token, or until the end of spoken input.
- GENDER_DONT_CARE -
Static variable in class Voice
- Ignore gender when performing a
match
of Voice
s.
- GENDER_FEMALE -
Static variable in class Voice
- Female
Voice
.
- GENDER_MALE -
Static variable in class Voice
- Male
Voice
.
- GENDER_NEUTRAL -
Static variable in class Voice
- Neutral Voice that is neither male or female.
- getActivationMode() -
Method in interface Grammar
- Returns the current activation mode for a
Grammar
.
- getAdaptation() -
Method in interface RecognizerProperties
- Gets the
adaptation
property.
- getAge() -
Method in class Voice
- Gets the
Voice
age.
- getAlternativeTokens(int) -
Method in interface FinalResult
- Gets the token sequence for the Nth-best alternative.
- getAttribute(String) -
Method in interface RuleGrammar
- Gets the value for the specified
attribute
in
the grammar
element.
- getAttributes() -
Method in class SpeakableEvent
- Gets any attributes associated with an
ELEMENT_REACHED
event.
- getAudio() -
Method in interface FinalResult
- Gets the audio for the complete utterance of this
Result
.
- getAudio(ResultToken, ResultToken) -
Method in interface FinalResult
- Gets the audio for a token or sequence of tokens.
- getAudioLevel() -
Method in class AudioEvent
- Gets the audio input level for the
AUDIO_LEVEL
AudioEvent
.
- getAudioManager() -
Method in interface Engine
- Returns an
AudioManager
that manages
audio input or output for this Engine
.
- getAudioMask() -
Method in interface AudioManager
- Gets the mask to filter events for added
AudioListener
s.
- getAudioPosition() -
Method in class RecognizerEvent
- Gets the audio position for this
RecognizerEvent
.
- getAudioPosition() -
Method in class SpeakableEvent
- Gets the position in milliseconds where a
MARKER_REACHED
event
occurs in the rendered output stream.
- getAudioSegment() -
Method in class Word
- Gets the
AudioSegment
for this Word
.
- getAvailableLocales() -
Static method in class SpeechLocale
- Returns a list of
SpeechLocale
s representing all
installed locales for the Java Virtual Machine.
- getBase() -
Method in interface EngineProperties
- Gets the
base
property.
- getBestToken(int) -
Method in interface Result
- Returns the Nth finalized token from the best
Result
alternative.
- getBestTokens() -
Method in interface Result
- Returns the finalized token sequence for
the best
Result
alternative.
- getCategories() -
Method in class Word
- Gets the categories of this
Word
.
- getCharNumber() -
Method in class GrammarExceptionDetail
- Gets the character number in a line in grammar text
containing this problem.
- getCharNumber() -
Method in class SpeakableExceptionDetail
- Gets the character number in a line in text containing this problem.
- getCompleteTimeout() -
Method in interface RecognizerProperties
- Gets the
completeTimeout
property.
- getConfidenceLevel() -
Method in interface FinalResult
- Gets the confidence level for the best token sequence.
- getConfidenceLevel(int) -
Method in interface FinalResult
- Gets the confidence level for the Nth-best alternative.
- getConfidenceLevel() -
Method in interface ResultToken
- Gets the confidence level of this token.
- getConfidenceThreshold() -
Method in interface RecognizerProperties
- Gets the
confidenceThreshold
property.
- getCountry() -
Method in class SpeechLocale
- Returns the country/region code for this
SpeechLocale
.
- getCurrentSpeaker() -
Method in interface SpeakerManager
- Gets the current
SpeakerProfile
.
- getDefault() -
Static method in class SpeechLocale
- Gets a
SpeechLocale
representing the current value of
the default locale for this instance of the Java Virtual Machine.
- getDetails() -
Method in exception GrammarException
- Gets the list of
GrammarExceptionDetail
s.
- getDetails() -
Method in exception SpeakableException
- Gets the list of
SpeakableExceptionDetail
descriptions.
- getDuration() -
Method in class PhoneInfo
- Gets the anticipated duration of this phone realization.
- getElements() -
Method in interface RuleGrammar
- Returns the elements added in this
RuleGrammar
.
- getEndpointStyle() -
Method in interface RecognizerProperties
- Gets the
endpointStyle
property.
- getEndTime() -
Method in interface ResultToken
- Gets the approximate end time for this token in milliseconds.
- getEngineError() -
Method in class EngineEvent
- Returns the
non-null
Throwable
Object that describes
the problem for an ENGINE_ERROR
event.
- getEngineMask() -
Method in interface Engine
- Gets the mask used to filter events for
added
EngineListener
s.
- getEngineMode() -
Method in interface Engine
- Returns the operating modes of this
Engine
.
- getEngineName() -
Method in class EngineMode
- Gets the
Engine
name.
- getEngineState() -
Method in interface Engine
- Returns an OR'ed set of flags indicating
the current state of this
Engine
.
- getGender() -
Method in class Voice
- Gets the
Voice
gender.
- getGrammar(int) -
Method in interface FinalResult
- Returns the
Grammar
matched by the Nth-best alternative.
- getGrammar(String) -
Method in interface GrammarManager
- Gets the
Grammar
with the specified grammarReference
.
- getGrammar() -
Method in interface Result
- Returns the
Grammar
matched by the finalized tokens of the best
Result
alternative or null
if the Grammar
is not known.
- getGrammarException() -
Method in class GrammarEvent
- Returns a
GrammarException
if an error is found in the source Grammar
.
- getGrammarException() -
Method in class RecognizerEvent
- Returns a non-
null
GrammarException
for
a CHANGES_REJECTED
event.
- getGrammarManager() -
Method in interface Grammar
- Returns the
GrammarManager
that manages this Grammar
.
- getGrammarManager() -
Method in interface Recognizer
- Gets the
GrammarManager
for this Recognizer
.
- getGrammarMask() -
Method in interface GrammarManager
- Gets the mask to filter
GrammarEvent
s for
added GrammarListener
s.
- getGrammarReference() -
Method in class GrammarExceptionDetail
- Gets the grammar reference in which this problem is encountered.
- getGrammarReference() -
Method in class RuleReference
- Gets the grammar reference part of this
RuleReference
.
- getId() -
Method in class SpeechEvent
- Returns the event identifier.
- getIncompleteTimeout() -
Method in interface RecognizerProperties
- Gets the
incompleteTimeout
property.
- getIndex() -
Method in class SpeakableEvent
- Gets the index of the phone associated with a
PHONEME_STARTED
event.
- getInterruptibility() -
Method in interface SynthesizerProperties
- Gets the interruptibility property.
- getLanguage() -
Method in class SpeechLocale
- Returns the language code for this
SpeechLocale
.
- getLineNumber() -
Method in class GrammarExceptionDetail
- Gets the line number in grammar text containing this problem.
- getLineNumber() -
Method in class SpeakableExceptionDetail
- Gets the line number in text containing this problem.
- getMarkupText() -
Method in class AudioSegment
- Returns the alternate markup text that may be used in case there is
a problem with the audio for this
AudioSegment
.
- getMarkupText() -
Method in interface Speakable
- Returns text to be spoken formatted in synthesis markup text.
- getMediaLocator() -
Method in class AudioEvent
- Gets the media locator for the
AUDIO_CHANGED
AudioEvent
.
- getMediaLocator() -
Method in interface AudioManager
- Returns the media locator for this
AudioManager
.
- getMediaLocator() -
Method in class AudioSegment
- Returns the media locator for this
AudioSegment
.
- getMediaType() -
Method in class RuleReference
- Gets the media type part of this
RuleReference
.
- getMessage() -
Method in class GrammarExceptionDetail
- Gets a printable
String
describing this problem.
- getMessage() -
Method in class SpeakableExceptionDetail
- Gets a printable
String
describing this problem.
- getModeName() -
Method in class EngineMode
- Gets the mode name.
- getName() -
Method in class SpeakerProfile
- Returns the speaker name.
- getName() -
Method in class Voice
- Gets the
Voice
name.
- getNewEngineState() -
Method in class EngineEvent
- Returns the state following this
EngineEvent
.
- getNewValue() -
Method in class EnginePropertyEvent
- Gets the new value for the property, expressed as an
Object
.
- getNewVoice() -
Method in class SpeakableEvent
- Gets the new
Voice
associated with a VOICE_CHANGED
event.
- getNumberAlternatives() -
Method in interface FinalResult
- Returns the number of alternatives for this
Result
.
- getNumResultAlternatives() -
Method in interface RecognizerProperties
- Gets the
numResultAlternatives
property.
- getNumTokens() -
Method in interface Result
- Returns the number of finalized tokens in the
best
Result
alternative.
- getOldEngineState() -
Method in class EngineEvent
- Returns the state preceding this
EngineEvent
.
- getOldValue() -
Method in class EnginePropertyEvent
- Gets the old value for the property, expressed as an
Object
.
- getOldVoice() -
Method in class SpeakableEvent
- Gets the old
Voice
associated with a VOICE_CHANGED
event.
- getParse() -
Method in class RuleParse
- Returns the parse associated with (or below) the
RuleReference
.
- getPhoneme() -
Method in class PhoneInfo
- Gets the base phoneme name for this phone realization.
- getPhones() -
Method in class SpeakableEvent
- Returns an array of phone information associated with a
PHONEME_STARTED
event.
- getPitch() -
Method in interface SynthesizerProperties
- Gets the pitch property.
- getPitchRange() -
Method in interface SynthesizerProperties
- Gets the pitchRange property.
- getPriority() -
Method in interface EngineProperties
- Gets the
priority
property.
- getPriority() -
Method in interface RecognizerProperties
- Gets the
priority
property.
- getPriority() -
Method in interface SynthesizerProperties
- Gets the
priority
property.
- getPronunciations(String, SpeechLocale) -
Method in interface VocabularyManager
- Returns the pronunciations corresponding to plain
text
for
the given locale
.
- getPronunciations() -
Method in class Word
- Gets the pronunciations of this
Word
.
- getPropertyName() -
Method in class EnginePropertyEvent
- Gets the name of the property that was changed.
- getRealizedValue() -
Method in class SpeakableEvent
- Gets the prosody value realized by markup text with a
PROSODY_UPDATED
event.
- getRecognizerProperties() -
Method in interface Recognizer
- Returns the properties for this
Recognizer
.
- getReference() -
Method in interface Grammar
- Gets the reference of this
Grammar
.
- getReference() -
Method in interface RuleGrammar
- Gets the reference of this
Grammar
.
- getRepeatMax() -
Method in class RuleCount
- Returns the maximum repeat count for this
RuleCount
.
- getRepeatMin() -
Method in class RuleCount
- Returns the minimum repeat count for this
RuleCount
.
- getRepeatProbability() -
Method in class RuleCount
- Returns the repeat probability for this
RuleCount
.
- getRequestedValue() -
Method in class SpeakableEvent
- Gets the prosody value requested by markup text with
a
PROSODY_UPDATED
event.
- getRequestId() -
Method in class SpeakableEvent
- Gets the request identifier associated with this
SpeakableEvent
.
- getResult() -
Method in interface ResultToken
- Returns a reference to the result that contains this token.
- getResultMask() -
Method in interface Recognizer
- Gets the mask to filter
ResultEvent
s for added ResultListener
s.
- getResultState() -
Method in interface Result
- Returns the current state of the
Result
object.
- getRoot() -
Method in interface RuleGrammar
- Gets the root
Rule
name for this RuleGrammar
.
- getRule(String) -
Method in interface RuleGrammar
- Returns a
Rule
object for the specified Rule
name.
- getRuleComponent() -
Method in class Rule
- Gets the
RuleComponent
expansion of this Rule
.
- getRuleComponent() -
Method in class RuleCount
- Returns the
RuleComponent
to which the counts
and probability apply.
- getRuleComponent() -
Method in class RuleLocale
- Returns the
RuleComponent
to which the SpeechLocale
applies.
- getRuleComponents() -
Method in class RuleAlternatives
- Returns the array of alternative
RuleComponent
s.
- getRuleComponents() -
Method in class RuleSequence
- Returns the array of
RuleComponent
s that defines this sequence.
- getRuleName() -
Method in class GrammarExceptionDetail
- Gets the rule name in grammar text containing this problem.
- getRuleName() -
Method in class Rule
- Gets the name of this Rule.
- getRuleName() -
Method in class RuleReference
- Gets the rule name part of this
RuleReference
.
- getRuleReference(int) -
Method in interface FinalRuleResult
- Returns the
RuleReference
matched by the Nth-best alternative.
- getRuleReference() -
Method in class RuleParse
- Returns the matched
RuleReference
(or root)
for this RuleParse
.
- getRunning() -
Method in class EngineMode
- Gets the running feature for the resources underlying an
Engine
.
- getScope() -
Method in class Rule
- Gets the scope of this
Rule
.
- getSensitivity() -
Method in interface RecognizerProperties
- Gets the
sensitivity
property.
- getSource() -
Method in class EnginePropertyEvent
- Returns the
Object
on which the event initially occurred.
- getSource() -
Method in class SpeechEvent
- Returns the
Object
on which the event initially occurred.
- getSpeakableException() -
Method in class SpeakableEvent
- Gets the
SpeakableException
associated with
a SPEAKABLE_FAILED
event.
- getSpeakableMask() -
Method in interface Synthesizer
- Gets the mask to filter events for added
SpeakableListener
s.
- getSpeakerManager() -
Method in interface Recognizer
- Returns the
SpeakerManager
for this Recognizer
.
- getSpeakerManagerUI() -
Method in interface SpeakerManager
- Returns a user interface object for managing speaker data and training.
- getSpeakerProfiles() -
Method in class RecognizerMode
- Gets the
SpeakerProfile
list specified in
this RecognizerMode
.
- getSpeakingRate() -
Method in interface SynthesizerProperties
- Gets the speakingRate property.
- getSpeechEventExecutor() -
Method in interface Engine
- Returns the
SpeechEventExecutor
for this Engine
.
- getSpeechLocale() -
Method in class RuleLocale
- Returns the
SpeechLocale
for this RuleLocale
.
- getSpeechLocale() -
Method in class Voice
- Gets the
Voice
SpeechLocale
.
- getSpeechLocale() -
Method in class Word
- Gets the
Word
SpeechLocale
.
- getSpeechLocales() -
Method in class RecognizerMode
- Gets the
SpeechLocale
list specified in this RecognizerMode
.
- getSpeedVsAccuracy() -
Method in interface RecognizerProperties
- Gets the
speedVsAccuracy
property.
- getSpokenForm() -
Method in class Word
- Gets the spoken-form text of this
Word
.
- getStartTime() -
Method in interface ResultToken
- Gets the approximate start time for this token in milliseconds.
- getSupportedMediaLocators(String) -
Method in interface AudioManager
- Gets the set of supported audio media locator descriptions given a
locator template.
- getSupportsLetterToSound() -
Method in class EngineMode
- Gets the letter to sound feature.
- getSupportsMarkup() -
Method in class EngineMode
- Gets the supports markup feature.
- getSupportsMarkup() -
Method in class RecognizerMode
- Gets the supports markup feature.
- getSupportsMarkup() -
Method in class SynthesizerMode
- Gets the supports markup feature.
- getSynthesizerProperties() -
Method in interface Synthesizer
- Returns the properties of this
Synthesizer
.
- getTag() -
Method in class RuleTag
- Returns the tag value.
- getTags(int) -
Method in interface FinalResult
- Returns the list of tags matched by the token sequence for
the Nth-best alternative.
- getTags(int) -
Method in interface FinalRuleResult
- Returns the list of tags matched by the token sequence for
the Nth-best alternative.
- getTags() -
Method in class RuleParse
- Returns the tags matched in this
RuleParse
.
- getText() -
Method in interface ResultToken
- Gets the text of this token.
- getText() -
Method in class RuleToken
- Gets the text of this
RuleToken
.
- getText() -
Method in class Word
- Gets the written-form text of this
Word
.
- getTextBegin() -
Method in class SpeakableEvent
- Gets the index of the first character
of the word in the synthesis markup text for a
WORD_STARTED
event.
- getTextEnd() -
Method in class SpeakableEvent
- Gets the index of the last character
of the word in the synthesis markup text for a
WORD_STARTED
event.
- getTextInfo() -
Method in class GrammarExceptionDetail
- Gets text information specific to the problem encountered.
- getTextInfo() -
Method in class SpeakableEvent
- Gets text information associated with this
SpeakableEvent
.
- getTextInfo() -
Method in class SpeakableExceptionDetail
- Gets text information specific to the problem encountered.
- getType() -
Method in class GrammarExceptionDetail
- Gets the detail type for this problem.
- getType() -
Method in class SpeakableEvent
- Gets the type of this
SpeakableEvent
event.
- getType() -
Method in class SpeakableExceptionDetail
- Gets the detail type for this problem.
- getUI(String) -
Method in interface SpeakerManagerUI
- Returns a user interface
Object
for manipulating speaker data.
- getUIClassNames() -
Method in interface SpeakerManagerUI
- Returns a list of supported user interface class names.
- getUnfinalizedTokens() -
Method in interface Result
- Returns the current unfinalized tokens following
the current finalized tokens.
- getVariant() -
Method in class SpeakerProfile
- Gets the variant description.
- getVariant() -
Method in class SpeechLocale
- Returns the variant
String
for this SpeechLocale
.
- getVariant() -
Method in class Voice
- Gets the
Voice
variant.
- getVersion() -
Static method in class EngineManager
- Returns the version of this API.
- getVocabSupport() -
Method in class RecognizerMode
- Gets the vocabulary support feature.
- getVocabularyManager() -
Method in interface Engine
- Returns an Object that provides management of
the vocabulary for this
Engine
.
- getVoice() -
Method in interface SynthesizerProperties
- Gets the voice property.
- getVoices() -
Method in class SynthesizerMode
- Returns the list of
Voice
s specified
in this SynthesizerMode
.
- getVolume() -
Method in interface SynthesizerProperties
- Gets the volume property.
- getWeights() -
Method in class RuleAlternatives
- Returns weights for the corresponding alternative
RuleComponent
s.
- getWords(String, SpeechLocale) -
Method in interface VocabularyManager
- Returns
Word
s matching the specified
written-form text
and locale
.
- Grammar - Interface in javax.speech.recognition
- Parent interface supported by all types of recognition grammars.
- GRAMMAR_ACTIVATED -
Static variable in class GrammarEvent
- Event issued when a
Grammar
changes
state from deactivated to activated.
- GRAMMAR_CHANGES_COMMITTED -
Static variable in class GrammarEvent
- Event issued when a
Recognizer
commits changes to a Grammar
.
- GRAMMAR_CHANGES_REJECTED -
Static variable in class GrammarEvent
- Event issued when a
Recognizer
rejects changes to a Grammar
.
- GRAMMAR_DEACTIVATED -
Static variable in class GrammarEvent
- Event issued when a
Grammar
changes
state from activated to deactivated.
- GRAMMAR_FINALIZED -
Static variable in class ResultEvent
- Event issued when the
Grammar
matched by a Result
is
identified and finalized.
- GrammarEvent - Class in javax.speech.recognition
- Event issued to
GrammarListener
s
when events associated with Grammar
s occur. - GrammarEvent(Grammar, int) -
Constructor for class GrammarEvent
- Constructs a
GRAMMAR_ACTIVATED
or GRAMMAR_DEACTIVATED
GrammarEvent
.
- GrammarEvent(Grammar, int, boolean, boolean, GrammarException) -
Constructor for class GrammarEvent
- Constructs a
GRAMMAR_CHANGES_COMMITTED
or GRAMMAR_CHANGES_REJECTED
GrammarEvent
.
- GrammarException - Exception in javax.speech.recognition
- Thrown if a problem is found with grammar text from a resource or
with a
RuleGrammar
object derived from grammar text. - GrammarException() -
Constructor for exception GrammarException
- Constructs a
GrammarException
with no detail message.
- GrammarException(String) -
Constructor for exception GrammarException
- Constructs a
GrammarException
with the specified detail message
.
- GrammarException(String, GrammarExceptionDetail[]) -
Constructor for exception GrammarException
- Constructs a
GrammarException
with the specified detail message
and optional programmatic details
of each problem.
- GrammarExceptionDetail - Class in javax.speech.recognition
- Describes a problem found in a
Grammar
. - GrammarExceptionDetail(int, String, String, String, int, int, String) -
Constructor for class GrammarExceptionDetail
- Constructs a
GrammarExceptionDetail
object
with the information provided.
- GrammarListener - Interface in javax.speech.recognition
- The listener interface for receiving notifications of
status change events for a
Grammar
. - GrammarManager - Interface in javax.speech.recognition
- Provides management of
Grammar
s. - grammarUpdate(GrammarEvent) -
Method in interface GrammarListener
- Method called back to indicate a
Grammar
update.
H
- hashCode() -
Method in class EngineMode
- Returns a hash code value for the object.
- hashCode() -
Method in class RecognizerMode
- Returns a hash code value for the object.
- hashCode() -
Method in class SpeakerProfile
- Returns a hash code value for the object.
- hashCode() -
Method in class SpeechLocale
- Returns a hash code value for this
Object
.
- hashCode() -
Method in class SynthesizerMode
- Returns a hash code value for the object.
- hashCode() -
Method in class Voice
- Returns a hash code value for the object.
I
- IMMEDIATE_MODE -
Static variable in interface Engine
- Constant value indicating immediate mode for a method.
- isActivatable() -
Method in interface Grammar
- Returns the
activatable
property of this Grammar
.
- isActivatable() -
Method in interface RuleGrammar
- Returns the
activatable
property of this RuleGrammar
.
- isActivatable(String) -
Method in interface RuleGrammar
- Returns the
activatable
property of ruleName
for this RuleGrammar
.
- isActivatableChanged() -
Method in class GrammarEvent
- Returns
true
for a GRAMMAR_CHANGES_COMMITTED
event
if the activatable
property of the source Grammar
changed.
- isActive() -
Method in interface Grammar
- Tests whether this
Grammar
is currently active
for top-level recognition.
- isAudioAvailable() -
Method in interface FinalResult
- Tests whether audio data is available for this
Result
.
- isDefinitionChanged() -
Method in class GrammarEvent
- Returns
true
for a GRAMMAR_CHANGES_COMMITTED
event
if the definition of the source Grammar
changed.
- isFinalizedChanged() -
Method in class ResultEvent
- Returns
true
if any tokens were finalized.
- isGettable() -
Method in class AudioSegment
- Indicates that a
openInputStream
request will not
throw a SecurityException
.
- isResultAudioProvided() -
Method in interface RecognizerProperties
- Gets the
resultAudioProvided
property.
- isSameChannel(AudioManager) -
Method in interface AudioManager
- Tests for equivalent audio sources or destinations.
- isSupportedMediaLocator(String) -
Method in interface AudioManager
- Tests a media locator to see if it is supported.
- isTopOfQueueChanged() -
Method in class SynthesizerEvent
- Returns the change status of the top of the
Synthesizer
output queue.
- isTrainingInfoAvailable() -
Method in interface FinalResult
- Returns
true
if the Recognizer
has
training information available for this Result
.
- isTrainingProvided() -
Method in interface RecognizerProperties
- Gets the
trainingProvided
property.
- isUnfinalizedChanged() -
Method in class ResultEvent
- Returns
true
if any unfinalized tokens have changed.
J
- javax.speech - package javax.speech
- Provides interfaces and classes for connecting to speech
Engine
s. - javax.speech.recognition - package javax.speech.recognition
- Provides interfaces and classes for using speech
Recognizer
s. - javax.speech.spi - package javax.speech.spi
- Provides interfaces for implementing speech
Engine
s. - javax.speech.synthesis - package javax.speech.synthesis
- Provides interfaces and classes for using speech
Synthesizer
s.
L
- LARGE_SIZE -
Static variable in class RecognizerMode
- Size constant representing a large vocabulary
Recognizer
.
- LISTENING -
Static variable in interface Recognizer
- Bit of state that is set when an
ALLOCATED
Recognizer
is listening to incoming audio for speech that may match an active
Grammar
.
- listGrammars() -
Method in interface GrammarManager
- Lists the
Grammar
s known to this GrammarManager
.
- listKnownSpeakers() -
Method in interface SpeakerManager
- Lists the
SpeakerProfile
s known to this SpeakerManager
.
- listRuleNames() -
Method in interface RuleGrammar
- Lists the names of all
Rule
s defined in this RuleGrammar
.
- loadGrammar(String, String) -
Method in interface GrammarManager
- Loads a
Grammar
from a URI or named resource.
- loadGrammar(String, String, boolean, boolean, Vector) -
Method in interface GrammarManager
- Loads a
Grammar
from a URI or named resource
with options for loading any referenced Grammar
s.
- loadGrammar(String, String, InputStream, String) -
Method in interface GrammarManager
- Loads a
Grammar
from grammar text provided by
an InputStream
.
- loadGrammar(String, String, Reader) -
Method in interface GrammarManager
- Loads a
Grammar
from grammar text provided by
a Reader
.
- loadGrammar(String, String, String) -
Method in interface GrammarManager
- Loads a
RuleGrammar
from grammar text provided
as a String
.
M
- MARKER_REACHED -
Static variable in class SpeakableEvent
- Event issued when audio output reaches a marker contained in markup
text.
- match(EngineMode) -
Method in class EngineMode
- Determines whether an
EngineMode
has all the features
defined in the require
object.
- match(EngineMode) -
Method in class RecognizerMode
- Determines whether a
RecognizerMode
has all the features defined
in the require
object.
- match(SpeakerProfile) -
Method in class SpeakerProfile
- Returns
true
if this object matches the required
object.
- match(SpeechLocale) -
Method in class SpeechLocale
- Determines whether this
SpeechLocale
has all the same values
for language, country, and variant as the require
object.
- match(EngineMode) -
Method in class SynthesizerMode
- Determines whether a
SynthesizerMode
has all the features
specified by the require
object.
- match(Voice) -
Method in class Voice
- Determines whether this
Voice
has all the features
defined in the require
object.
- MAX_ACCURACY -
Static variable in interface RecognizerProperties
- A value signifying maximum accuracy vs. speed during recognition.
- MAX_CONFIDENCE -
Static variable in interface RecognizerProperties
- A value signifying that maximum confidence is required
for recognition.
- MAX_PRIORITY -
Static variable in interface EngineProperties
- The maximum
priority
that an Engine
instance can have.
- MAX_PROBABILITY -
Static variable in class RuleCount
- The maximum repeat probability for a
RuleCount
.
- MAX_SENSITIVITY -
Static variable in interface RecognizerProperties
- A value signifying maximum sensitivity to noise during recognition.
- MAX_UNTRUSTED_PRIORITY -
Static variable in interface EngineProperties
- The maximum
priority
that
an untrusted Engine
instance can have.
- MAX_VOLUME -
Static variable in interface SynthesizerProperties
- The maximum volume level.
- MAX_WEIGHT -
Static variable in class RuleAlternatives
- The maximum weight for a
RuleComponent
.
- MEDIUM_RATE -
Static variable in interface SynthesizerProperties
- A medium speaking rate.
- MEDIUM_SIZE -
Static variable in class RecognizerMode
- Size constant representing a medium vocabulary
Recognizer
.
- MEDIUM_VOLUME -
Static variable in interface SynthesizerProperties
- A value representing medium volume level.
- MIN_ACCURACY -
Static variable in interface RecognizerProperties
- A value signifying minimum accuracy vs. speed during recognition.
- MIN_CONFIDENCE -
Static variable in interface RecognizerProperties
- A value signifying that minimum confidence is required
for recognition.
- MIN_PRIORITY -
Static variable in interface EngineProperties
- The minimum
priority
that an Engine
instance can have.
- MIN_SENSITIVITY -
Static variable in interface RecognizerProperties
- A value signifying minimum sensitivity to noise during recognition.
- MIN_VOLUME -
Static variable in interface SynthesizerProperties
- The minimum volume level.
- MIN_WEIGHT -
Static variable in class RuleAlternatives
- A value for the weight corresponding to 0.0.
- MISRECOGNITION -
Static variable in interface FinalResult
- Constant indicating that
the change is a correction of an error made by the
Recognizer
.
N
- NORM_ACCURACY -
Static variable in interface RecognizerProperties
- A value signifying normal accuracy vs. speed during recognition.
- NORM_CONFIDENCE -
Static variable in interface RecognizerProperties
- A value signifying that normal confidence is required
for recognition.
- NORM_SENSITIVITY -
Static variable in interface RecognizerProperties
- A value signifying normal sensitivity to noise during recognition.
- NORM_TRUSTED_PRIORITY -
Static variable in interface EngineProperties
- The default
priority
assigned to
a trusted Engine
instance.
- NORM_UNTRUSTED_PRIORITY -
Static variable in interface EngineProperties
- The default
priority
assigned to
an untrusted Engine
instance.
- NORM_WEIGHT -
Static variable in class RuleAlternatives
- A value for the weight corresponding to 1.0.
- NOT_BUFFERING -
Static variable in interface Recognizer
- Bit of state that is set when an
ALLOCATED
Recognizer
is not buffering audio.
- NOUN -
Static variable in class Word
- Grammatical category of
Word
is noun.
- NULL -
Static variable in class RuleSpecial
- Special
NULL
RuleComponent
that always matches.
O
- OBJECT_LEVEL -
Static variable in interface SynthesizerProperties
- The value for object-level interruptibility.
- openInputStream() -
Method in class AudioSegment
- Returns an
InputStream
that can be used to read this
AudioSegment
's contents.
- orderByMatch(EngineMode) -
Method in class EngineList
- Orders this list so that elements matching the
require
d features
are at the head of the list, and others are at the end.
- OTHER -
Static variable in class Word
- Grammatical category of
Word
not otherwise specified.
P
- paramString() -
Method in class AudioEvent
- Returns a parameter
String
that contains
the event identifier in text form.
- paramString() -
Method in class EngineEvent
- Returns a parameter
String
that contains
the event ID in text form.
- paramString() -
Method in class GrammarEvent
- Returns a parameter
String
that contains
the event identifier in text form.
- paramString() -
Method in class RecognizerEvent
- Returns a parameter
String
that contains
the event ID in text form.
- paramString() -
Method in class ResultEvent
- Returns a parameter
String
that contains
the event identifier in text form.
- paramString() -
Method in class SpeechEvent
- Returns a parameter
String
that contains
the event identifier in text form.
- paramString() -
Method in class SpeakableEvent
- Returns a parameter
String
that contains
the event identifier in text form.
- paramString() -
Method in class SynthesizerEvent
- Returns a parameter
String
that contains
the event ID in text form.
- parse(int) -
Method in interface FinalRuleResult
- Returns the
RuleParse
corresponding to the Nth-best alternative.
- parse(String, String) -
Method in interface RuleGrammar
- Parses a
String
against this RuleGrammar
.
- parse(String[], String) -
Method in interface RuleGrammar
- Parses a sequence of tokens against this
RuleGrammar
.
- pause() -
Method in interface Engine
- Pauses the audio processing for this
Engine
and
puts it into the PAUSED
state.
- pause() -
Method in interface Recognizer
- Pauses the audio processing for this
Engine
and
puts it into the PAUSED
state.
- pause(int) -
Method in interface Recognizer
- Pauses a
Recognizer
with additional options.
- pause() -
Method in interface Synthesizer
- Pauses the audio processing for this
Engine
and
puts it into the PAUSED
state.
- PAUSED -
Static variable in interface Engine
- Bit of state that is set when an
Engine
is in
the ALLOCATED
state and is PAUSED
.
- PhoneInfo - Class in javax.speech.synthesis
- Provides dynamic information associated with a phoneme.
- PhoneInfo(String, int) -
Constructor for class PhoneInfo
- Constructs a phone instance with associated information.
- PHONEME_STARTED -
Static variable in class SpeakableEvent
- Event issued when audio output starts for a phoneme from an item
on the
Synthesizer
output queue.
- PREPOSITION -
Static variable in class Word
- Grammatical category of
Word
is preposition.
- PRIVATE -
Static variable in class Rule
- A constant that specifies private scope for a
Rule
.
- processGrammars() -
Method in interface Recognizer
- Informs this
Recognizer
that Grammar
s have changed.
- PROCESSING -
Static variable in interface Recognizer
- Bit of state that is set when an
ALLOCATED
Recognizer
is producing a Result
for incoming speech that may match
an active Grammar
.
- PRONOUN -
Static variable in class Word
- Grammatical category of word is pronoun.
- PROPER_ADJECTIVE -
Static variable in class Word
- Grammatical category of
Word
is proper adjective.
- PROPER_NOUN -
Static variable in class Word
- Grammatical category of
Word
is proper noun.
- propertyUpdate(EnginePropertyEvent) -
Method in interface EnginePropertyListener
- Method called back to indicate a change to an
EngineProperties
property.
- PROSODY_CONTOUR -
Static variable in class SpeakableEvent
- Type of
PROSODY_UPDATED
event issued when
a prosody value for contour changes.
- PROSODY_PITCH -
Static variable in class SpeakableEvent
- Type of
PROSODY_UPDATED
event issued when
a prosody value for pitch changes.
- PROSODY_PITCH_RANGE -
Static variable in class SpeakableEvent
- Type of
PROSODY_UPDATED
event issued when
a prosody value for pitch range changes.
- PROSODY_RATE -
Static variable in class SpeakableEvent
- Type of
PROSODY_UPDATED
event issued when a
prosody value for rate changes.
- PROSODY_UPDATED -
Static variable in class SpeakableEvent
- Event issued when a prosody value changes due to markup text.
- PROSODY_VOLUME -
Static variable in class SpeakableEvent
- Type of
PROSODY_UPDATED
event issued when
a prosody value for volume changes.
- PUBLIC -
Static variable in class Rule
- A constant that specifies public scope for a
Rule
.
Q
- QUEUE_EMPTIED -
Static variable in class SynthesizerEvent
- Event issued when the
Synthesizer
output queue has emptied and
the Synthesizer
has changed to the QUEUE_EMPTY
state.
- QUEUE_EMPTY -
Static variable in interface Synthesizer
- Bit of state that is set when the
Synthesizer
output queue is empty.
- QUEUE_LEVEL -
Static variable in interface SynthesizerProperties
- The value for queue-level interruptibility.
- QUEUE_NOT_EMPTY -
Static variable in interface Synthesizer
- Bit of state that is set when the
Synthesizer
output queue is not empty.
- QUEUE_UPDATED -
Static variable in class SynthesizerEvent
- Event issued when the
Synthesizer
output queue updates.
R
- Recognizer - Interface in javax.speech.recognition
- Provides access to speech recognition capabilities.
- RECOGNIZER_BUFFERING -
Static variable in class RecognizerEvent
- Event issued when the
Recognizer
has detected that the internal
audio buffer is free after a previous
RECOGNIZER_NOT_BUFFERING
event.
- RECOGNIZER_LISTENING -
Static variable in class RecognizerEvent
- Event issued when a
Recognizer
enters
the LISTENING
substate of the RESUMED
state.
- RECOGNIZER_NOT_BUFFERING -
Static variable in class RecognizerEvent
- Event issued when the
Recognizer
has detected that the internal
audio buffer is full.
- RECOGNIZER_PROCESSING -
Static variable in class RecognizerEvent
- Event issued when a
Recognizer
changes from
the LISTENING
substate to the PROCESSING
substate to
indicate that it is actively processing a recognition Result
.
- RECOGNIZER_STOPPED -
Static variable in class RecognizerEvent
- Event issued when the
Recognizer
has processed all audio
for the current audio stream.
- RecognizerEvent - Class in javax.speech.recognition
- Event issued by a
Recognizer
to indicate a change
in state or other activity. - RecognizerEvent(Recognizer, int, long, long, Throwable, GrammarException, long) -
Constructor for class RecognizerEvent
- Constructs a
RecognizerEvent
to indicate a
change in state or other activity.
- RecognizerListener - Interface in javax.speech.recognition
- The listener interface for events associated with a
Recognizer
. - RecognizerMode - Class in javax.speech.recognition
- Provides information about a specific operating mode of a
Recognizer
. - RecognizerMode() -
Constructor for class RecognizerMode
- Constructs a
RecognizerMode
with all mode features set to
"don't care" values.
- RecognizerMode(SpeechLocale) -
Constructor for class RecognizerMode
- Constructs a
RecognizerMode
with a given SpeechLocale
and
other features set to "don't care" values.
- RecognizerMode(String, String, Boolean, Boolean, Boolean, Integer, SpeechLocale[], SpeakerProfile[]) -
Constructor for class RecognizerMode
- Constructs a
RecognizerMode
with all mode features specified.
- RecognizerProperties - Interface in javax.speech.recognition
- Enables control of the properties of a
Recognizer
. - recognizerUpdate(RecognizerEvent) -
Method in interface RecognizerListener
- Method called back to indicate a
Recognizer
update.
- registerEngineListFactory(String) -
Static method in class EngineManager
- Registers a speech
Engine
implementation with the
EngineManager
for use by the current application.
- REJECTED -
Static variable in interface Result
- A state indicating that recognition of the
Result
is complete
and has been finalized by being rejected.
- rejectMatch(EngineMode) -
Method in class EngineList
- Removes
EngineMode
entries from the list
that match reject
.
- releaseAudio() -
Method in interface FinalResult
- Releases the audio for this
Result
.
- releaseFocus() -
Method in interface Recognizer
- Releases the recognition focus from this
Recognizer
.
- releaseTrainingInfo() -
Method in interface FinalResult
- Releases the training information for this
Result
.
- removeAudioListener(AudioListener) -
Method in interface AudioManager
- Removes an
AudioListener
from this AudioManager
.
- removeElement(String) -
Method in interface RuleGrammar
- Removes an
element
from this RuleGrammar
.
- removeElementAt(int) -
Method in class EngineList
- Removes the
EngineMode
at the specified index
.
- removeEnginePropertyListener(EnginePropertyListener) -
Method in interface EngineProperties
- Removes an
EnginePropertyListener
from this EngineProperties
object.
- removeGrammarListener(GrammarListener) -
Method in interface Grammar
- Removes a
GrammarListener
from this Grammar
.
- removeGrammarListener(GrammarListener) -
Method in interface GrammarManager
- Removes a
GrammarListener
from this GrammarManager
.
- removeRecognizerListener(RecognizerListener) -
Method in interface Recognizer
- Removes a
RecognizerListener
from this Recognizer
.
- removeResultListener(ResultListener) -
Method in interface Grammar
- Removes a
ResultListener
from this Grammar
.
- removeResultListener(ResultListener) -
Method in interface Recognizer
- Removes a
ResultListener
from this Recognizer
.
- removeResultListener(ResultListener) -
Method in interface Result
- Removes a
ResultListener
from this Result
.
- removeRule(String) -
Method in interface RuleGrammar
- Removes a named
Rule
from this RuleGrammar
.
- removeSpeakableListener(SpeakableListener) -
Method in interface Synthesizer
- Removes a
SpeakableListener
from this Synthesizer
.
- removeSynthesizerListener(SynthesizerListener) -
Method in interface Synthesizer
- Removes a
SynthesizerListener
from this Synthesizer
.
- removeWord(Word) -
Method in interface VocabularyManager
- Removes a
Word
from the VocabularyManager
.
- removeWords(Word[]) -
Method in interface VocabularyManager
- Removes an array of
Word
s from the VocabularyManager
.
- renameSpeaker(SpeakerProfile, SpeakerProfile) -
Method in interface SpeakerManager
- Associates existing speaker data with a new
SpeakerProfile
.
- REPEAT_INDEFINITELY -
Static variable in class RuleCount
- A value that represents indefinite repeating for a
RuleCount
.
- requestFocus() -
Method in interface Recognizer
- Requests the recognition focus for this
Recognizer
.
- requireMatch(EngineMode) -
Method in class EngineList
- Removes
EngineMode
entries from the list that
do not match require
.
- reset() -
Method in interface EngineProperties
- Resets all properties to reasonable defaults for the
Engine
.
- resolve(RuleReference) -
Method in interface RuleGrammar
- Resolves a
RuleReference
within this RuleGrammar
.
- restoreCurrentSpeaker() -
Method in interface SpeakerManager
- Restores the speaker data for the current
SpeakerProfile
to
the last saved version.
- Result - Interface in javax.speech.recognition
- A
Result
is issued by a Recognizer
as it recognizes
an incoming utterance that matches an active Grammar
. - RESULT_ACCEPTED -
Static variable in class ResultEvent
- Event issued when a
Result
is successfully finalized and
indicates a state change from UNFINALIZED
to ACCEPTED
.
- RESULT_CREATED -
Static variable in class ResultEvent
- Event issued when a new
Result
is created.
- RESULT_REJECTED -
Static variable in class ResultEvent
- Event issued when a
Result
is unsuccessfully finalized and
indicates a state change from UNFINALIZED
to REJECTED
.
- RESULT_UPDATED -
Static variable in class ResultEvent
- Event issued when one or more tokens of a
Result
are finalized
or when the unfinalized tokens of a Result
are changed.
- ResultEvent - Class in javax.speech.recognition
- Event issued to indicate changes in the
Result
state and recognized tokens. - ResultEvent(Result, int) -
Constructor for class ResultEvent
- Constructs a basic
ResultEvent
.
- ResultEvent(Result, int, boolean, boolean) -
Constructor for class ResultEvent
- Constructs a
ResultEvent
with flags
to indicate changes in token status and value.
- ResultListener - Interface in javax.speech.recognition
- The listener interface for
ResultEvent
s associated
with a Result
. - ResultStateException - Exception in javax.speech.recognition
- Thrown if there is an illegal call to a method of
FinalResult
or
FinalRuleResult
. - ResultStateException() -
Constructor for exception ResultStateException
- Constructs a
ResultStateException
with no detail message.
- ResultStateException(String) -
Constructor for exception ResultStateException
- Constructs a
ResultStateException
with the specified detail message.
- ResultToken - Interface in javax.speech.recognition
- A token (usually a word) contained by a
Result
representing something
heard by a Recognizer
. - resultUpdate(ResultEvent) -
Method in interface ResultListener
- Method called back to indicate a
Result
update.
- resume() -
Method in interface Engine
- Resumes audio processing for this
Engine
by
entering the RESUMED
state.
- resume() -
Method in interface Recognizer
- Resumes audio processing for this
Engine
by
entering the RESUMED
state.
- resume() -
Method in interface Synthesizer
- Resumes audio processing for this
Engine
by
entering the RESUMED
state.
- RESUMED -
Static variable in interface Engine
- Bit of state that is set when an
Engine
is in
the ALLOCATED
state and is RESUMED
.
- Rule - Class in javax.speech.recognition
- Represents a
Rule
in a RuleGrammar
. - Rule(String, RuleComponent) -
Constructor for class Rule
- Constructs a
Rule
with a name and RuleComponent
expansion.
- Rule(String, RuleComponent, int) -
Constructor for class Rule
- Constructs a
Rule
with a name, RuleComponent
expansion,
and scope.
- RuleAlternatives - Class in javax.speech.recognition
- Represents a
RuleComponent
composed of a set of alternative
RuleComponent
s. - RuleAlternatives(String[]) -
Constructor for class RuleAlternatives
- Constructs a phrase list from an array of
String
objects.
- RuleAlternatives(RuleComponent[]) -
Constructor for class RuleAlternatives
- Constructs a
RuleAlternatives
object from an array of
alternative RuleComponent
s.
- RuleAlternatives(RuleComponent[], int[]) -
Constructor for class RuleAlternatives
- Constructs a
RuleAlternatives
object with an array of
alternative ruleComponents
and a corresponding array
of weights
.
- RuleComponent - Class in javax.speech.recognition
- Represents the different components
that may appear on the right-hand side of a
Rule
definition
in a RuleGrammar
. - RuleCount - Class in javax.speech.recognition
- Attaches repeat counts to a contained
RuleComponent
object to
indicate the number of times it may occur. - RuleCount(RuleComponent, int) -
Constructor for class RuleCount
- Constructs a
RuleCount
specifying the minimum number
of times a RuleComponent
must repeat.
- RuleCount(RuleComponent, int, int) -
Constructor for class RuleCount
- Constructs a
RuleCount
specifying a range for repeating
a RuleComponent
.
- RuleCount(RuleComponent, int, int, int) -
Constructor for class RuleCount
- Constructs a
RuleCount
specifying a range for
repeating a RuleComponent
with a probability.
- RuleGrammar - Interface in javax.speech.recognition
- Defines a
Grammar
that specifies what users may
say by a set of Rule
s. - RuleLocale - Class in javax.speech.recognition
- Defines the
SpeechLocale
for the enclosed RuleComponent
. - RuleLocale(RuleComponent, SpeechLocale) -
Constructor for class RuleLocale
- Constructs a
RuleLocale
specifying the SpeechLocale
for the RuleComponent
.
- RuleParse - Class in javax.speech.recognition
- Represents the parse structure of a
Result
or String
against
a RuleGrammar
. - RuleParse(RuleReference, RuleComponent) -
Constructor for class RuleParse
- Constructs a
RuleParse
object associating a RuleReference
with a parse
structure for that RuleReference
.
- RuleReference - Class in javax.speech.recognition
- Specifies a reference to a
RuleGrammar
or a named Rule
in a RuleGrammar
. - RuleReference(String) -
Constructor for class RuleReference
- Constructs a
RuleReference
given a rule name.
- RuleReference(String, String) -
Constructor for class RuleReference
- Constructs a
RuleReference
given a grammar reference
and rule name.
- RuleReference(String, String, String) -
Constructor for class RuleReference
- Constructs a
RuleReference
from a
grammar reference, rule name, and media type.
- RuleSequence - Class in javax.speech.recognition
- Specifies a
RuleComponent
composed of a sequence of
sub-RuleComponent
s that must each be spoken in sequence order. - RuleSequence(String[]) -
Constructor for class RuleSequence
- Constructs a
RuleSequence
from a sequence
of String
s converted to a sequence of RuleToken
s.
- RuleSequence(RuleComponent[]) -
Constructor for class RuleSequence
- Constructs a
RuleSequence
with a sequence
of RuleComponent
s.
- RuleSpecial - Class in javax.speech.recognition
- Defines special
RuleReference
s defined as constants. - RuleTag - Class in javax.speech.recognition
- Defines a tag to be used within a
RuleGrammar
. - RuleTag(Object) -
Constructor for class RuleTag
- Constructs a
RuleTag
with a tag value.
- RuleToken - Class in javax.speech.recognition
- Represents speakable text in a
RuleGrammar
. - RuleToken(String) -
Constructor for class RuleToken
- Constructs a RuleToken with the speakable
text
String
.
S
- saveCurrentSpeaker() -
Method in interface SpeakerManager
- Saves the speaker data for the current
SpeakerProfile
.
- setActivatable(boolean) -
Method in interface Grammar
- Sets the
activatable
property of this Grammar
.
- setActivatable(boolean) -
Method in interface RuleGrammar
- Sets the
activatable
property of this Grammar
.
- setActivatable(String, boolean) -
Method in interface RuleGrammar
- Sets the
activatable
property for the specified ruleName
.
- setActivationMode(int) -
Method in interface Grammar
- Sets the activation mode of this
Grammar
.
- setAdaptation(int) -
Method in interface RecognizerProperties
- Sets the
adaptation
property.
- setAttribute(String, String) -
Method in interface RuleGrammar
- Sets the
value
for the specified attribute
in the grammar
element.
- setAudioMask(int) -
Method in interface AudioManager
- Sets the mask to filter events for added
AudioListener
s.
- setBase(String) -
Method in interface EngineProperties
- Sets the
base
property.
- setCompleteTimeout(int) -
Method in interface RecognizerProperties
- Sets the
completeTimeout
property.
- setConfidenceThreshold(int) -
Method in interface RecognizerProperties
- Sets the
confidenceThreshold
property.
- setCurrentSpeaker(SpeakerProfile) -
Method in interface SpeakerManager
- Sets the current
SpeakerProfile
.
- setEndpointStyle(int) -
Method in interface RecognizerProperties
- Sets the
endpointStyle
property.
- setEngineMask(int) -
Method in interface Engine
- Sets the
mask
to filter events for added EngineListener
s.
- setGrammarMask(int) -
Method in interface GrammarManager
- Sets the mask to filter
GrammarEvent
s for
added GrammarListener
s.
- setIncompleteTimeout(int) -
Method in interface RecognizerProperties
- Sets the
incompleteTimeout
property.
- setInterruptibility(int) -
Method in interface SynthesizerProperties
- Sets the interruptibility property.
- setMediaLocator(String) -
Method in interface AudioManager
- Sets the locator for this
AudioManager
.
- setMediaLocator(String, InputStream) -
Method in interface AudioManager
- Sets the input audio source for this
AudioManager
.
- setMediaLocator(String, OutputStream) -
Method in interface AudioManager
- Sets the output audio source for this
AudioManager
.
- setNumResultAlternatives(int) -
Method in interface RecognizerProperties
- Sets the
numResultAlternatives
property.
- setPitch(int) -
Method in interface SynthesizerProperties
- Set the pitch property.
- setPitchRange(int) -
Method in interface SynthesizerProperties
- Sets the pitchRange property.
- setPriority(int) -
Method in interface EngineProperties
- Sets the
priority
property.
- setPriority(int) -
Method in interface RecognizerProperties
- Sets the
priority
property.
- setPriority(int) -
Method in interface SynthesizerProperties
- Sets the
priority
property.
- setResultAudioProvided(boolean) -
Method in interface RecognizerProperties
- Sets the
resultAudioProvided
property.
- setResultMask(int) -
Method in interface Recognizer
- Sets the mask to filter
ResultEvent
s for
added ResultListener
s.
- setRoot(String) -
Method in interface RuleGrammar
- Sets the root
Rule
name for this RuleGrammar
.
- setSensitivity(int) -
Method in interface RecognizerProperties
- Sets the
sensitivity
property.
- setSpeakableMask(int) -
Method in interface Synthesizer
- Sets the mask to filter events for added
SpeakableListener
s.
- setSpeakingRate(int) -
Method in interface SynthesizerProperties
- Sets the speakingRate property.
- setSpeechEventExecutor(SpeechEventExecutor) -
Method in interface Engine
- Sets the
SpeechEventExecutor
used to fire events for this
Engine
.
- setSpeedVsAccuracy(int) -
Method in interface RecognizerProperties
- Sets the
speedVsAccuracy
property.
- setTrainingProvided(boolean) -
Method in interface RecognizerProperties
- Sets the
trainingProvided
property.
- setVoice(Voice) -
Method in interface SynthesizerProperties
- Sets the voice property.
- setVolume(int) -
Method in interface SynthesizerProperties
- Sets the volume property.
- size() -
Method in class EngineList
- Returns the number of
EngineMode
objects in this list.
- SLOW_RATE -
Static variable in interface SynthesizerProperties
- A slow speaking rate.
- SMALL_SIZE -
Static variable in class RecognizerMode
- Size constant representing a small vocabulary
Recognizer
.
- speak(AudioSegment, SpeakableListener) -
Method in interface Synthesizer
- Speaks an
AudioSegment
.
- speak(Speakable, SpeakableListener) -
Method in interface Synthesizer
- Speaks an object that provides synthesis markup text through the
Speakable
interface.
- speak(String, SpeakableListener) -
Method in interface Synthesizer
- Speaks a plain text
String
.
- Speakable - Interface in javax.speech.synthesis
- Provides a standard method for obtaining markup text from an object.
- SPEAKABLE_CANCELLED -
Static variable in class SpeakableEvent
- Event issued when an item on the
Synthesizer
output queue
is cancelled and removed from the queue.
- SPEAKABLE_ENDED -
Static variable in class SpeakableEvent
- Event issued with the completion of audio output of an object on the
Synthesizer
output queue as the object is removed from the queue.
- SPEAKABLE_FAILED -
Static variable in class SpeakableEvent
- Event issued when an error occurs during processing
of an item on the
Synthesizer
output queue.
- SPEAKABLE_FAILURE_RECOVERABLE -
Static variable in class SpeakableEvent
- Type of
SPEAKABLE_FAILED
event issued for recoverable errors.
- SPEAKABLE_FAILURE_UNRECOVERABLE -
Static variable in class SpeakableEvent
- Type of
SPEAKABLE_FAILED
event issued
for unrecoverable errors.
- SPEAKABLE_PAUSED -
Static variable in class SpeakableEvent
- Event issued when audio output of the top item of
the
Synthesizer
output queue is PAUSED
.
- SPEAKABLE_RESUMED -
Static variable in class SpeakableEvent
- Event issued when audio output of the top item of the
Synthesizer
output queue is RESUMED
after being PAUSED
.
- SPEAKABLE_STARTED -
Static variable in class SpeakableEvent
- Event issued at the start of audio output of an item on
the
Synthesizer
output queue.
- SpeakableEvent - Class in javax.speech.synthesis
- Event issued during processing of an item on the
Synthesizer
output queue. - SpeakableEvent(Object, int, int) -
Constructor for class SpeakableEvent
- Constructs a
SpeakableEvent
denoting a status change.
- SpeakableEvent(Object, int, int, String, int, String[]) -
Constructor for class SpeakableEvent
- Constructs an
ELEMENT_REACHED
SpeakableEvent
.
- SpeakableEvent(Object, int, int, String, int) -
Constructor for class SpeakableEvent
- Constructs a
MARKER_REACHED
SpeakableEvent
.
- SpeakableEvent(Object, int, int, String, int, int, int) -
Constructor for class SpeakableEvent
- Constructs a
PROSODY_UPDATED
SpeakableEvent
.
- SpeakableEvent(Object, int, int, String, int, int) -
Constructor for class SpeakableEvent
- Constructs a
WORD_STARTED
SpeakableEvent
.
- SpeakableEvent(Object, int, int, String, PhoneInfo[], int) -
Constructor for class SpeakableEvent
- Constructs a
PHONEME_STARTED
SpeakableEvent
.
- SpeakableEvent(Object, int, int, String, Voice, Voice) -
Constructor for class SpeakableEvent
- Constructs a
VOICE_CHANGED
SpeakableEvent
.
- SpeakableEvent(Object, int, int, int, SpeakableException) -
Constructor for class SpeakableEvent
- Constructs a
SPEAKABLE_FAILED
SpeakableEvent
.
- SpeakableException - Exception in javax.speech.synthesis
- Thrown if a problem is found with an item
placed on the
Synthesizer
output queue. - SpeakableException() -
Constructor for exception SpeakableException
- Constructs a
SpeakableException
with no detail message.
- SpeakableException(String) -
Constructor for exception SpeakableException
- Constructs a
SpeakableException
with
the specified detail message
.
- SpeakableException(String, SpeakableExceptionDetail[]) -
Constructor for exception SpeakableException
- Constructs a
SpeakableException
with the specified detail message
and programmatic details
of each problem.
- SpeakableExceptionDetail - Class in javax.speech.synthesis
- Describes a problem found during processing of an
item placed on the
Synthesizer
output queue. - SpeakableExceptionDetail(int, String, int, int, String) -
Constructor for class SpeakableExceptionDetail
- Constructs a
SpeakableExceptionDetail
object with
the information provided.
- SpeakableListener - Interface in javax.speech.synthesis
- The listener interface for receiving notification of events during
processing of items on the
Synthesizer
output queue. - speakableUpdate(SpeakableEvent) -
Method in interface SpeakableListener
- Method called back to indicate an update to an item on
the
Synthesizer
output queue.
- SpeakerManager - Interface in javax.speech.recognition
- Provides management of speaker-specific data for a
Recognizer
. - SpeakerManagerUI - Interface in javax.speech.recognition
- Provides access to a user interface for managing speaker and training data.
- SpeakerProfile - Class in javax.speech.recognition
- Identifies speaker data in a
SpeakerManager
. - SpeakerProfile(String, String) -
Constructor for class SpeakerProfile
- Constructs a
SpeakerProfile
with the specified properties.
- speakMarkup(String, SpeakableListener) -
Method in interface Synthesizer
- Speaks a String containing text synthesis markup text.
- SPEECH_STARTED -
Static variable in class RecognizerEvent
- Event issued when a
Recognizer
detects the possible start
of speech in the incoming audio.
- SPEECH_STOPPED -
Static variable in class RecognizerEvent
- Event issued when a
Recognizer
detects the possible end of speech
or noise in the incoming audio that it previously
indicated with a SPEECH_STARTED
event.
- SpeechEvent - Class in javax.speech
- The root event class for all speech events.
- SpeechEvent(Object, int) -
Constructor for class SpeechEvent
- Constructs a
SpeechEvent
object.
- SpeechEventExecutor - Interface in javax.speech
- Interface for objects that execute
Runnable
objects. - SpeechEventListener - Interface in javax.speech
- A tagging interface that all
SpeechEventListener
interfaces
must extend. - SpeechException - Exception in javax.speech
- Thrown when a Java Speech API exception occurs.
- SpeechException() -
Constructor for exception SpeechException
- Constructs a
SpeechException
with no detail message.
- SpeechException(String) -
Constructor for exception SpeechException
- Constructs a
SpeechException
with the specified detail message.
- SpeechLocale - Class in javax.speech
- Encapsulates information that defines a locale
and provides
match
ing functionality to facilitate Engine
selection and other local-sensitive operations. - SpeechLocale(String) -
Constructor for class SpeechLocale
- Construct a
SpeechLocale
from the
language
.
- SpeechLocale(String, String) -
Constructor for class SpeechLocale
- Construct a
SpeechLocale
from the
language
and country
.
- SpeechLocale(String, String, String) -
Constructor for class SpeechLocale
- Construct a
SpeechLocale
from the
language
, country
, and variant
.
- SYNTAX_ERROR -
Static variable in class GrammarExceptionDetail
- Detail type when markup contains a syntax error.
- SYNTAX_ERROR -
Static variable in class SpeakableExceptionDetail
- Detail type when markup contains a syntax error.
- Synthesizer - Interface in javax.speech.synthesis
- Provides primary access to speech synthesis capabilities.
- SYNTHESIZER_BUFFER_READY -
Static variable in class SynthesizerEvent
- Event issued once audio output begins to flow normally after a gap.
- SYNTHESIZER_BUFFER_UNFILLED -
Static variable in class SynthesizerEvent
- Event issued when a gap in synthesis output is detected.
- SynthesizerEvent - Class in javax.speech.synthesis
- Event issued by a
Synthesizer
to indicate a change
in state or other activity. - SynthesizerEvent(Synthesizer, int, long, long, Throwable, boolean) -
Constructor for class SynthesizerEvent
- Constructs a
SynthesizerEvent
to indicate a
change in state or other activity.
- SynthesizerListener - Interface in javax.speech.synthesis
- The listener interface for receiving notification
of
SynthesizerEvent
s associated with a Synthesizer
. - SynthesizerMode - Class in javax.speech.synthesis
- Provides information about a specific operating mode
of a
Synthesizer
. - SynthesizerMode() -
Constructor for class SynthesizerMode
- Constructs a
SynthesizerMode
with all mode features set
to don't care values.
- SynthesizerMode(SpeechLocale) -
Constructor for class SynthesizerMode
- Constructs a
SynthesizerMode
with a given SpeechLocale
and other features set to don't care values.
- SynthesizerMode(String, String, Boolean, Boolean, Boolean, Voice[]) -
Constructor for class SynthesizerMode
- Constructs a
SynthesizerMode
with the specified mode features.
- SynthesizerProperties - Interface in javax.speech.synthesis
- Provides run-time control of the properties of a
Synthesizer
. - synthesizerUpdate(SynthesizerEvent) -
Method in interface SynthesizerListener
- Method called back to indicate a
Synthesizer
event update.
T
- testEngineState(long) -
Method in interface Engine
- Returns
true
if the current Engine
state matches
the specified state.
- tokenCorrection(String[], ResultToken, ResultToken, int) -
Method in interface FinalResult
- Informs the
Recognizer
of a correction to
one or more tokens in a finalized Result
so that the Recognizer
can improve itself.
- TOP_OF_QUEUE -
Static variable in class SpeakableEvent
- Event issued when an item on the
Synthesizer
output queue
reaches the top of the queue.
- toString() -
Method in class AudioEvent
- Returns a printable
String
.
- toString() -
Method in class EngineMode
- Returns a
String
representation of this EngineMode
.
- toString() -
Method in class EnginePropertyEvent
- Returns a printable
String
.
- toString() -
Method in class GrammarEvent
- Returns a printable
String
.
- toString() -
Method in class RecognizerEvent
- Returns a printable
String
.
- toString() -
Method in class RecognizerMode
- Returns a
String
representation of this RecognizerMode
.
- toString() -
Method in class ResultEvent
- Returns a printable
String
.
- toString() -
Method in class Rule
- Returns a
String
representing this Rule
as grammar text.
- toString() -
Method in class RuleAlternatives
- Returns a
String
representing this RuleComponent
as grammar text.
- toString() -
Method in class RuleComponent
- Returns a
String
representing this RuleComponent
as grammar text.
- toString() -
Method in class RuleCount
- Returns a
String
representing this RuleComponent
as grammar text.
- toString() -
Method in interface RuleGrammar
- Returns a
String
containing a specification for this
RuleGrammar
in grammar text.
- toString() -
Method in class RuleLocale
- Returns a
String
representing this RuleComponent
as grammar text.
- toString() -
Method in class RuleParse
- Converts a
RuleParse
to a String
with a style similar
to the grammar text.
- toString() -
Method in class RuleReference
- Returns a
String
representing this RuleComponent
as grammar text.
- toString() -
Method in class RuleSequence
- Returns a
String
representing this RuleComponent
as grammar text.
- toString() -
Method in class RuleSpecial
- Returns a
String
representing this RuleComponent
as grammar text.
- toString() -
Method in class RuleTag
- Returns a
String
representing this RuleComponent
as grammar text.
- toString() -
Method in class RuleToken
- Returns a
String
representing this RuleComponent
as grammar text.
- toString() -
Method in class SpeakerProfile
- Returns a
String
representation of this SpeakerProfile
.
- toString() -
Method in class SpeechEvent
- Returns a printable
String
.
- toString() -
Method in class SpeechLocale
- Returns a
String
representation of this SpeechLocale
.
- toString() -
Method in class PhoneInfo
- Returns a printable
String
.
- toString() -
Method in class SpeakableEvent
- Returns a printable
String
.
- toString() -
Method in class SynthesizerEvent
- Returns a printable
String
.
- toString() -
Method in class SynthesizerMode
- Returns a
String
representation of this SynthesizerMode
.
- toString() -
Method in class Voice
- Returns a
String
representation of this Voice
.
- TRAINING_INFO_RELEASED -
Static variable in class ResultEvent
- Event issued when the training information
associated with a
FinalResult
object is released.
U
- UNFINALIZED -
Static variable in interface Result
- A state indicating that a
Result
is still being recognized.
- UNKNOWN -
Static variable in class Word
- Grammatical category of
Word
is unknown.
- UNKNOWN_AUDIO_POSITION -
Static variable in class RecognizerEvent
- Value returned from the
getAudioPosition
method when
the audio position is unknown or not supported.
- UNKNOWN_AUDIO_POSITION -
Static variable in class SpeakableEvent
- Value returned when the
getAudioPosition
method is not supported.
- UNKNOWN_CONFIDENCE -
Static variable in interface RecognizerProperties
- A value signifying that the confidence value is unknown.
- UNKNOWN_DURATION -
Static variable in class PhoneInfo
- A value signifying that the duration of a phone is not known.
- UNKNOWN_INDEX -
Static variable in class SpeakableEvent
- Value returned when a method that returns an index is not supported.
- UNKNOWN_TYPE -
Static variable in class GrammarExceptionDetail
- Constant representing an unknown type.
- UNKNOWN_TYPE -
Static variable in class SpeakableEvent
- Value returned when a method that returns a type is not supported.
- UNKNOWN_TYPE -
Static variable in class SpeakableExceptionDetail
- Constant representing an unknown type.
- UNKNOWN_VALUE -
Static variable in class GrammarExceptionDetail
- Constant representing an unknown value.
- UNKNOWN_VALUE -
Static variable in class SpeakableEvent
- Value returned when a method that returns a value is not supported.
- UNKNOWN_VALUE -
Static variable in class SpeakableExceptionDetail
- Constant representing an unknown value.
- UNSUPPORTED_ALPHABET -
Static variable in class GrammarExceptionDetail
- Detail type representing an unsupported phoneme alphabet.
- UNSUPPORTED_ALPHABET -
Static variable in class SpeakableExceptionDetail
- Detail type representing an unsupported phoneme alphabet.
- UNSUPPORTED_AUDIO -
Static variable in class SpeakableExceptionDetail
- Detail type when audio cannot be played.
- UNSUPPORTED_INTERPRETATION -
Static variable in class SpeakableExceptionDetail
- Detail type when the
Synthesizer
does not support the specified value of an attribute for
the say-as
element.
- UNSUPPORTED_LANGUAGE -
Static variable in class GrammarExceptionDetail
- Detail type representing an unsupported language.
- UNSUPPORTED_LANGUAGE -
Static variable in class SpeakableExceptionDetail
- Detail type representing an unsupported language.
- UNSUPPORTED_LEXEME -
Static variable in class GrammarExceptionDetail
- Detail type representing an unsupported lexeme.
- UNSUPPORTED_LEXEME -
Static variable in class SpeakableExceptionDetail
- Detail type representing an unsupported lexeme.
- UNSUPPORTED_LEXICON -
Static variable in class GrammarExceptionDetail
- Detail type representing an unsupported lexicon.
- UNSUPPORTED_LEXICON -
Static variable in class SpeakableExceptionDetail
- Detail type representing an unsupported lexicon.
- UNSUPPORTED_PHONEME -
Static variable in class GrammarExceptionDetail
- Detail type representing an unsupported phoneme.
- UNSUPPORTED_PHONEME -
Static variable in class SpeakableExceptionDetail
- Detail type representing an unsupported phoneme.
- UNSUPPORTED_VOICE -
Static variable in class SpeakableExceptionDetail
- Detail type representing an unsupported voice.
- USER_CHANGE -
Static variable in interface FinalResult
- Constant indicating that
the user has modified the text that was returned by the
Recognizer
to something different from what they actually said.
V
- VARIANT_DEFAULT -
Static variable in class Voice
- The default variant for a
Voice
.
- VARIANT_DONT_CARE -
Static variable in class Voice
- Ignore the variant when performing a
match
of Voice
s.
- VERB -
Static variable in class Word
- Grammatical category of
Word
is verb.
- VERY_LARGE_SIZE -
Static variable in class RecognizerMode
- Size constant representing a very large vocabulary
Recognizer
.
- VocabularyManager - Interface in javax.speech
- Interface for management of
Word
s used by a speech Engine
. - Voice - Class in javax.speech.synthesis
- Describes one output
Voice
of a speech Synthesizer
. - Voice() -
Constructor for class Voice
- Constructs a
Voice
with locale
, name
,
gender
, age
, and variant
set to "don't care" values.
- Voice(SpeechLocale, String, int, int, int) -
Constructor for class Voice
- Constructs a
Voice
with locale
, name
,
gender
, age
, and variant
.
- VOICE_CHANGED -
Static variable in class SpeakableEvent
- Event issued when audio output begins for a
Voice
change specified in markup text.
- VOID -
Static variable in class RuleSpecial
- Special
VOID
RuleComponent
that never matches.
W
- waitEngineState(long, long) -
Method in interface Engine
- Blocks the calling
Thread
until
the Engine
is in a specified state,
or a specified timeout
has elapsed.
- waitEngineState(long) -
Method in interface Engine
- Blocks the calling
Thread
until
the Engine
is in a specified state.
- Word - Class in javax.speech
- Provides a standard representation of words used by
speech
Engine
s. - Word(String, String[], String, AudioSegment, long) -
Constructor for class Word
- Constructs a
Word
object.
- Word(String, String[], String, AudioSegment, long, SpeechLocale) -
Constructor for class Word
- Constructs a
Word
object with SpeechLocale
information.
- WORD_LEVEL -
Static variable in interface SynthesizerProperties
- The value for word-level interruptibility.
- WORD_STARTED -
Static variable in class SpeakableEvent
- Event issued when audio output starts for a word from an item
on the
Synthesizer
output queue.
X
- X_FAST_RATE -
Static variable in interface SynthesizerProperties
- An extra fast speaking rate.
- X_SLOW_RATE -
Static variable in interface SynthesizerProperties
- An extra-slow speaking rate.
A B C D E F G H I J L M N O P Q R S T U V W X
JavaTM Speech API 2.0,
Final Release v2.0.6.
© 2008, Conversay and Sun Microsystems.