|
JSAPI 2.0 | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use RuleComponent | |
---|---|
javax.speech.recognition | Provides interfaces and classes for using speech Recognizer s. |
Uses of RuleComponent in javax.speech.recognition |
---|
Subclasses of RuleComponent in javax.speech.recognition | |
---|---|
class |
RuleAlternatives
Represents a RuleComponent composed of a set of alternative
RuleComponent s. |
class |
RuleCount
Attaches repeat counts to a contained RuleComponent object to
indicate the number of times it may occur. |
class |
RuleLocale
Defines the SpeechLocale for the enclosed RuleComponent . |
class |
RuleParse
Represents the parse structure of a Result or String against
a RuleGrammar . |
class |
RuleReference
Specifies a reference to a RuleGrammar or a named Rule
in a RuleGrammar . |
class |
RuleSequence
Specifies a RuleComponent composed of a sequence of
sub-RuleComponent s that must each be spoken in sequence order. |
class |
RuleSpecial
Defines special RuleReference s defined as constants. |
class |
RuleTag
Defines a tag to be used within a RuleGrammar . |
class |
RuleToken
Represents speakable text in a RuleGrammar . |
Methods in javax.speech.recognition that return RuleComponent | |
---|---|
RuleComponent |
RuleParse.getParse()
Returns the parse associated with (or below) the RuleReference . |
RuleComponent |
RuleLocale.getRuleComponent()
Returns the RuleComponent to which the SpeechLocale applies. |
RuleComponent |
RuleCount.getRuleComponent()
Returns the RuleComponent to which the counts
and probability apply. |
RuleComponent |
Rule.getRuleComponent()
Gets the RuleComponent expansion of this Rule . |
RuleComponent[] |
RuleSequence.getRuleComponents()
Returns the array of RuleComponent s that defines this sequence. |
RuleComponent[] |
RuleAlternatives.getRuleComponents()
Returns the array of alternative RuleComponent s. |
Constructors in javax.speech.recognition with parameters of type RuleComponent | |
---|---|
Rule(String ruleName,
RuleComponent ruleComponent)
Constructs a Rule with a name and RuleComponent
expansion. |
|
Rule(String ruleName,
RuleComponent ruleComponent,
int scope)
Constructs a Rule with a name, RuleComponent expansion,
and scope. |
|
RuleAlternatives(RuleComponent[] ruleComponents)
Constructs a RuleAlternatives object from an array of
alternative RuleComponent s. |
|
RuleAlternatives(RuleComponent[] ruleComponents,
int[] weights)
Constructs a RuleAlternatives object with an array of
alternative ruleComponents and a corresponding array
of weights . |
|
RuleCount(RuleComponent ruleComponent,
int repeatMin)
Constructs a RuleCount specifying the minimum number
of times a RuleComponent must repeat. |
|
RuleCount(RuleComponent ruleComponent,
int repeatMin,
int repeatMax)
Constructs a RuleCount specifying a range for repeating
a RuleComponent . |
|
RuleCount(RuleComponent ruleComponent,
int repeatMin,
int repeatMax,
int repeatProbability)
Constructs a RuleCount specifying a range for
repeating a RuleComponent with a probability. |
|
RuleLocale(RuleComponent ruleComponent,
SpeechLocale locale)
Constructs a RuleLocale specifying the SpeechLocale
for the RuleComponent . |
|
RuleParse(RuleReference ruleReference,
RuleComponent parse)
Constructs a RuleParse object associating a RuleReference
with a parse structure for that RuleReference . |
|
RuleSequence(RuleComponent[] ruleComponents)
Constructs a RuleSequence with a sequence
of RuleComponent s. |
|
JSAPI 2.0 | |||||||||
PREV NEXT | FRAMES NO FRAMES |
JavaTM Speech API 2.0,
Final Release v2.0.6.
© 2008, Conversay and Sun Microsystems.