JSR-043: JTAPI-1.4

javax.telephony.media
Interface ASRConstants

All Superinterfaces:
MediaConstants, ResourceConstants
All Known Subinterfaces:
ASR, ASREvent, Async_ASR, Async_ASREvent

public interface ASRConstants
extends ResourceConstants

ASR Constants.

This interface defines additional Symbols used by the ASR Interface.

Since:
JTAPI-1.4

Field Summary
static Symbol a_AutomaticTraining
          Value is a boolean indicating whether the resource is capable of automatic training or application-directed training.
static Symbol a_ContextType
          Value indicating the type of the context to be loaded.
static Symbol a_Date
          Attribute containing the version date.
static Symbol a_DefaultRules
          Attribute containing a list of public rule names that become active when the Grammar Context becomes active.
static Symbol a_DetectionType
          Value is a Symbol describing the type of detection available.
static Symbol a_EchoCancellation
          Boolean value indicating that the resource is or is not capable of echo cancellation.
static Symbol a_IntermediateResults
          Indicates that the resource generates the ev_IntermediateResultsReady event, and can return these results through getResults.
static Symbol a_Label
          Value is A vendor-defined String identifying a set of words and/or phrases.
static Symbol a_Language
          Value is a Symbol[] containing the languages(s) recognized.
static Symbol a_LoadableContext
          Value is a Dictionary indicating the abilities of the resource that can be enabled by copying an appropriate Context onto the resource.
static Symbol a_LoadedContext
          Value is a Dictionary indicating the current abilities of the resource, enabled by the combination of the resource and a Context that is presently loaded on the resource.
static Symbol a_NumberRepetitions
          Value is the default number of utterances used to train a word (for automatic training, the default number; for application-driven training, the recommended number of utterances).
static Symbol a_NumberWordsRequested
          Value is a boolean indicating if the Resource supports the NumberWordsRequested parameter.
static Symbol a_OutputType
          Value is a Symbol specifying the type of output the Recognizer supports.
static Symbol a_PrivateRules
          Attribute containing a list of all private rules in the grammar.
static Symbol a_PublicRules
          Attribute containing a list of all public rules in the grammar.
static Symbol a_RepeatRecognition
          Value is the maximum length of utterance that can be stored (in msec) for later use.
static Symbol a_ResourceName
          Attribute contiaining the name of the program.
static Symbol a_ResourceVendor
          Attribute continaing the nameof the vendor.
static Symbol a_ResourceVersion
          Attribute containing the version number.
static Symbol a_ResultPresentation
          Value is the type of results (as explained in section 5.7) to expect from the Recognizer.
static Symbol a_Rules
          Attribute containing a list of all rules in the grammar.
static Symbol a_Size
          Value is a vendor-defined heuristic describing the space available for loading a Context onto the Resource.
static Symbol a_SpeakerType
          Value is a Symbol describing the type of recognition supported.
static Symbol a_SpecificUtterance
          Value is a boolean indicating that the resource supports the Specific Utterance RTC Conditions.
static Symbol a_Spotting
          Value is a boolean indicating if the resource supports spotting.
static Symbol a_Trainable
          Value is a boolean indicating that the resource supports training.
static Symbol a_Training
          Value is a dictionary indicating that the resource supports training.
static Symbol a_TrainingModifiable
          Value is a Symbol indicating whether a Word, once it has been trained and committed, can use additional training utterances to update the training.
static Symbol a_TrainingType
          Value is a symbol describing the type of utterances used for training.
static Symbol a_UtteranceType
          Value is a Symbol describing the manner in which the utterance data is described to the recogniser for training and must be v_Phonetic, v_Speech, or v_Text.
static Symbol a_UtteranceValidation
          Value is a boolean indicating whether the resource is capable of generating the rtcc_InvalidUtterance, rtcc_ValidUtteranceFound, and rtcc_ValidUtteranceFinal conditions.
static Symbol a_Variant
          Value is Symbol[] containing the variant(s) recognised.
static Symbol e_BadContainerName
          Invalid Context Container.
static Symbol e_BadContext
          Invalid Context name.
static Symbol e_Exists
          Word already exists.
static Symbol e_IncorrectContext
          Context does not work with this Recognizer.
static Symbol e_NoExists
          Word does not exist.
static Symbol e_NotSupported
          Recognizer does not support function call.
static Symbol ev_ContextCopy
          EventID for contextCopy().
static Symbol ev_ContextCreate
          EventID for contextCreate().
static Symbol ev_ContextGetParameters
          EventID for contextGetParameters().
static Symbol ev_ContextRemove
          EventID for contextRemove().
static Symbol ev_ContextSetParameters
          EventID for contextSetParameters().
static Symbol ev_GetFinalResults
          EventID for getFinalResults().
static Symbol ev_GetResults
          EventID for getResults().
static Symbol ev_GetRuleExpansion
          EventID for getRuleExpansion().
static Symbol ev_Idle
          EventID for idle().
static Symbol ev_IntermediateResultsReady
          Intermediate results are available.
static Symbol ev_InvalidUtterance
          An invalid utterance has been detected during training.
static Symbol ev_RecognitionStarted
          Recognition has resumed due to RTC.
static Symbol ev_Recognize
          EventID for recognize().
static Symbol ev_RetrieveRecognition
          EventID for retrieveRecognition().
static Symbol ev_SetRuleExpansion
          EventID for setRuleExpansion().
static Symbol ev_Start
          EventID for start().
static Symbol ev_Stop
          EventID for stop().
static Symbol ev_UpdateParameters
          EventID for updateParameters().
static Symbol ev_ValidUtterance
          A valid utterance has been detected during training.
static Symbol ev_WordCommit
          EventID for wordCommit().
static Symbol ev_WordCreate
          EventID for wordCreate().
static Symbol ev_WordDeleteLastUtterance
          EventID for wordDeleteLastUtterance().
static Symbol ev_WordDeleteTraining
          EventID for wordDeleteTraining().
static Symbol ev_WordDestroy
          EventID for wordDestroy().
static Symbol ev_WordTrain
          EventID for wordTrain().
static Symbol p_ActiveContexts
          Value is a String[] of the active contexts.
static Symbol p_ActiveRules
          Value is a String[] of names of the active rules in the grammar.
static Symbol p_ActiveWords
          Value is a String[] of the active words.
static Symbol p_AutomaticTraining
          AutomaticTraining.
static Symbol p_ContextType
          Value is a Symbol indicating the actual type of the context to be loaded.
static Symbol p_DetectionType
          Value is a Symbol describing the type of detection and must be v_Continuous or v_Discrete.
static Symbol p_Duration
          Value is maximum time window (in msecs).
static Symbol p_EchoCancellation
          Value is a boolean that is true if echo cancellation is active.
static Symbol p_EnabledEvents
          A Dictionary of ASR event Symbols, indicating which events are generated and delivered to the application.
static Symbol p_FinalTimeout
          Value is the silence time in msecs after the utterance to indicate the completion of the recognition.
static Symbol p_GrammarBargeInThreshold
          Value is a minimum score at a barge-in node required to raise rtcc_GrammarBargeIn.
static Symbol p_InitialTimeout
          Value is the initial timeout in msecs.
static Symbol p_Label
          Value is an abstract String identifying a set of words and/or phrases.
static Symbol p_Language
          Value is a String[] containing the languages recognised.
static Symbol p_LoadedContexts
          Value is a String[] of the loaded contexts.
static Symbol p_LoadedWords
          Value is a String[] of the loaded words.
static Symbol p_NumberRepetitions
          NumberRepetitions in Training.
static Symbol p_NumberWordsRequested
          Value is the number of words to return.
static Symbol p_OutputType
          Value is the type of output result provided.
static Symbol p_PlayInput
          PlayInput in Speech Buffer.
static Symbol p_PrivateRules
          Value is a String[] of names for all of the private rules in the grammar.
static Symbol p_PublicRules
          Value is a String[] of names for all of the public rules in the grammar.
static Symbol p_ResultPresentation
          Value is the method fo result presentation.
static Symbol p_ResultType
          Value is a Symbol indicating if the result are final or intermediate.
static Symbol p_Rules
          Value is a String[] of names for all of the rules in the grammar.
static Symbol p_Size
          Value is a vendor-defined heuristic describing the space requirements of the context when resident on the resource.
static Symbol p_SpeakerType
          Value is a Symbol indicating the type of recognition possible.
static Symbol p_SpecificUtterance
          Utterances which triggers rtcc_SpecficUtterance.
static Symbol p_Spotting
          Value is a Symbol describing the availabiility of spotting and must be Available or NotAvailable.
static Symbol p_StartPaused
          Indicates if Recognizer starts in Paused mode.
static Symbol p_State
          Value is the state of the recognizer.
static Symbol p_StoreInput
          StoreInput in Speech Buffer.
static Symbol p_TopChoices
          Value is the number of alternative results returned.
static Symbol p_Trainable
          Value is a boolean indicating whether this context can be trained.
static Symbol p_TrainingType
          TrainingType.
static Symbol p_UpdateParametersList
          These parameters are updated when rtca_UpdateParameters fires.
static Symbol p_UtteranceType
          Value is a Symbol describing the manner in which the utterance data is described to the recogniser for training and must be v_Phonetic, v_Speech, or v_Text.
static Symbol p_Variant
          Value is a String[] containing the variants recognised.
static Symbol q_Complete
          Training is complete.
static Symbol q_Failure
          The latest utterance was not successful.
static Symbol q_InitialTimeout
          The training failed because the initial timeout timer expired.
static Symbol q_Rejected
          The recogniser rejected the utterance as unrecognisable.
static Symbol q_Silence
          The recogniser heard no utterance.
static Symbol q_Stop
          The training or recognition was stopped via the ASR Stop command or a RTC.
static Symbol q_Success
          The latest utterance was successfully recognised.
static Symbol q_Unsuccessful
          Training was unsuccessful due to a collision.
static Symbol q_Warning
          Although the latest utterance was added to the training set, the Recognizer has detected potential problems.
static Symbol rtca_Idle
          Stop recognition or training and return to Idle state.
static Symbol rtca_Start
          Start the paused recognition or training.
static Symbol rtca_Stop
          Stop recognition or training.
static Symbol rtca_UpdateParameters
          Update parameters given in p_UpdateParametersList.
static Symbol rtcc_GrammarBargeIn
          Trigger when the grammar has detected barge-in.
static Symbol rtcc_InvalidUtterance
          Trigger when an invalid utterance is detected.
static Symbol rtcc_Recognize
          Trigger when recognition ends normally.
static Symbol rtcc_RecognizeStarted
          Trigger when the recognizer has start operating.
static Symbol rtcc_Silence
          Trigger when silence is detected.
static Symbol rtcc_SpecificUtterance
          Trigger when a specifically defined utterance is detected.
static Symbol rtcc_SpeechDetected
          Trigger when speech has been detected.
static Symbol rtcc_TrainStarted
          Trigger when the recognizer has start training.
static Symbol rtcc_ValidUtteranceFinal
          Trigger when a valid utterance has been detected and recognition has completed.
static Symbol rtcc_ValidUtteranceFound
          Trigger when a valid utterance has been detected even though recognition may not be finished.
static Symbol rtcc_WordTrain
          Trigger when word training ends normally.
static Symbol rtcc_WordTrained
          Trigger when word training is complete.
static Symbol v_AddTraining
          Value indicates that the word can have additional training added after is has been added to Context.
static Symbol v_Class
          Indicates the ASR Resource Class in a ResourceSpec.
static Symbol v_Collision
          The training is too close to the training of another Word in an active Context on the Recognizer.
static Symbol v_Complete
          The Word has sufficient training available, and additional training will be ignored.
static Symbol v_Continuous
          Value indicates a detection type of continuous.
static Symbol v_Dependent
          Value indicates speaker dependent recognition is supported.
static Symbol v_Discrete
          Value indicates a detection type of discrete.
static Symbol v_Final
          Value indicates the results are final.
static Symbol v_FromResource
          direction argument in contextCopy().
static Symbol v_Garbage
          a value indicating the token represents garbage.
static Symbol v_GrammarTag
          A value indicating that the token is NULL, and a grammar tag is provided instead.
static Symbol v_Identification
          Value indicates speaker identification is supported.
static Symbol v_Idle
          The recogniser is idle.
static Symbol v_Immutable
          Value indicates that intermediate results do not change with time.
static Symbol v_Inconsistent
          The training is inconsistent with previous training for this Word.
static Symbol v_Independent
          Value indicates speaker independent recognition is supported.
static Symbol v_Intermediate
          Value indicates the results are intermediate.
static Symbol v_Mutable
          Value indicates that intermediate results may change with time.
static Symbol v_Noisy
          The background for this training was too noisy.
static Symbol v_Normal
          a value indicating the token is normal, and contains a string.
static Symbol v_NotModifiable
          Value indicates that the word cannot be modified after being committed to context.
static Symbol v_NotReady
          The Word does not have sufficient training available.
static Symbol v_Phonetic
          Value of a parameter indicating that results are returned as a phonetic transcription.
static Symbol v_Ready
          The Word has sufficient training available.
static Symbol v_RecognitionPaused
          The recogniser is paused.
static Symbol v_Recognizing
          The recogniser is recognising.
static Symbol v_ResultsAvailable
          The recogniser has results available.
static Symbol v_Retrain
          Value indicates that the word can be retrained after it has been added to Context.
static Symbol v_Silence
          a value indicating the token represents silence.
static Symbol v_Speech
          Value of a parameter indicating that results are returned as speech.
static Symbol v_Success
          The training succeeded.
static Symbol v_Text
          Value of a parameter indicating that results are returned as text.
static Symbol v_ToResource
          direction argument in contextCopy().
static Symbol v_ToResourceTraining
          direction argument in contextCopy().
static Symbol v_Training
          The recogniser is training.
static Symbol v_TrainingPaused
          The recogniser is training and is paused.
static Symbol v_TypeI
          A Value indicating the results are of Type I.
static Symbol v_TypeII
          A Value indicating the results are of Type II.
static Symbol v_Verification
          Value indicates speaker verification is supported.
static Symbol v_WordTrained
          The recogniser has trained a word.
 
Fields inherited from interface javax.telephony.media.ResourceConstants
e_Disconnected, FOREVER, q_Disconnected, q_RTC, rtcc_Disconnected, rtcc_TriggerRTC, v_Forever
 
Fields inherited from interface javax.telephony.media.MediaConstants
e_OK, q_Duration, q_Standard
 

Field Detail

a_ResourceVendor

public static final Symbol a_ResourceVendor
Attribute continaing the nameof the vendor.

a_ResourceName

public static final Symbol a_ResourceName
Attribute contiaining the name of the program.

a_ResourceVersion

public static final Symbol a_ResourceVersion
Attribute containing the version number.

a_Date

public static final Symbol a_Date
Attribute containing the version date.

a_EchoCancellation

public static final Symbol a_EchoCancellation
Boolean value indicating that the resource is or is not capable of echo cancellation.

a_IntermediateResults

public static final Symbol a_IntermediateResults
Indicates that the resource generates the ev_IntermediateResultsReady event, and can return these results through getResults.

Possible values are v_Mutable and v_Immutable.


a_LoadableContext

public static final Symbol a_LoadableContext
Value is a Dictionary indicating the abilities of the resource that can be enabled by copying an appropriate Context onto the resource.
The possible keys are a_Trainable, a_SpeakerType, a_Label, a_Language, a_Variant, a_DetectionType, a_Spotting, a_UtteranceType, a_Size, and a_ContextType.

a_LoadedContext

public static final Symbol a_LoadedContext
Value is a Dictionary indicating the current abilities of the resource, enabled by the combination of the resource and a Context that is presently loaded on the resource.
The possible keys are a_Trainable, a_SpeakerType, a_Label, a_Language, a_Variant, a_DetectionType, a_Spotting, and a_UtteranceType.

a_Language

public static final Symbol a_Language
Value is a Symbol[] containing the languages(s) recognized.

a_NumberWordsRequested

public static final Symbol a_NumberWordsRequested
Value is a boolean indicating if the Resource supports the NumberWordsRequested parameter.

a_OutputType

public static final Symbol a_OutputType
Value is a Symbol specifying the type of output the Recognizer supports.
The possible values are v_Text and v_Phonetic.

a_RepeatRecognition

public static final Symbol a_RepeatRecognition
Value is the maximum length of utterance that can be stored (in msec) for later use.

a_ResultPresentation

public static final Symbol a_ResultPresentation
Value is the type of results (as explained in section 5.7) to expect from the Recognizer.
The possible values are v_TypeI and v_TypeII.

a_SpecificUtterance

public static final Symbol a_SpecificUtterance
Value is a boolean indicating that the resource supports the Specific Utterance RTC Conditions.
See Also:
rtcc_SpecificUtterance

a_Training

public static final Symbol a_Training
Value is a dictionary indicating that the resource supports training. The Dictionary contains the different options available when training the resource.

a_Variant

public static final Symbol a_Variant
Value is Symbol[] containing the variant(s) recognised.

a_Trainable

public static final Symbol a_Trainable
Value is a boolean indicating that the resource supports training.

a_SpeakerType

public static final Symbol a_SpeakerType
Value is a Symbol describing the type of recognition supported.
Possible values are v_Dependent, v_Independent, v_Identification, or v_Verification.

a_Label

public static final Symbol a_Label
Value is A vendor-defined String identifying a set of words and/or phrases.

a_DetectionType

public static final Symbol a_DetectionType
Value is a Symbol describing the type of detection available.
Possible values are v_Continuous or v_Discrete.

a_Spotting

public static final Symbol a_Spotting
Value is a boolean indicating if the resource supports spotting.

a_UtteranceType

public static final Symbol a_UtteranceType
Value is a Symbol describing the manner in which the utterance data is described to the recogniser for training and must be v_Phonetic, v_Speech, or v_Text.

a_Size

public static final Symbol a_Size
Value is a vendor-defined heuristic describing the space available for loading a Context onto the Resource. This measure may be compared with the Size parameter of a Context to determine if a Context may be loaded.

a_ContextType

public static final Symbol a_ContextType
Value indicating the type of the context to be loaded. The only ECTF-defined symbol is one for Context Grammars that support the Java Speech Grammar Format. Otherwise, this is a vendor-defined symbol that is used by the vendor to distinguish between specific data formats used internally by the vendor’s Resource.

a_AutomaticTraining

public static final Symbol a_AutomaticTraining
Value is a boolean indicating whether the resource is capable of automatic training or application-directed training.

a_TrainingType

public static final Symbol a_TrainingType
Value is a symbol describing the type of utterances used for training.
Possible values are v_Phonetic, v_Speech, or v_Text.

a_TrainingModifiable

public static final Symbol a_TrainingModifiable
Value is a Symbol indicating whether a Word, once it has been trained and committed, can use additional training utterances to update the training.
Possible values are v_NotModifiable, v_Retrain, and v_AddTraining.

a_UtteranceValidation

public static final Symbol a_UtteranceValidation
Value is a boolean indicating whether the resource is capable of generating the rtcc_InvalidUtterance, rtcc_ValidUtteranceFound, and rtcc_ValidUtteranceFinal conditions.

a_NumberRepetitions

public static final Symbol a_NumberRepetitions
Value is the default number of utterances used to train a word (for automatic training, the default number; for application-driven training, the recommended number of utterances). The minimum of this attribute is the minimum number of training utterances needed. The maximum is the maximum number of utterances that can be collected without performing a wordCommit().

a_DefaultRules

public static final Symbol a_DefaultRules
Attribute containing a list of public rule names that become active when the Grammar Context becomes active.

Value is a String[] containing the rule names.


a_Rules

public static final Symbol a_Rules
Attribute containing a list of all rules in the grammar.

Value is a String[] containing the rule names.


a_PrivateRules

public static final Symbol a_PrivateRules
Attribute containing a list of all private rules in the grammar.

Value is a String[] containing the rule names.


a_PublicRules

public static final Symbol a_PublicRules
Attribute containing a list of all public rules in the grammar.

Value is a String[] containing the rule names.


e_BadContext

public static final Symbol e_BadContext
Invalid Context name.
See Also:
getError()

e_IncorrectContext

public static final Symbol e_IncorrectContext
Context does not work with this Recognizer.
See Also:
getError()

e_BadContainerName

public static final Symbol e_BadContainerName
Invalid Context Container.
See Also:
getError()

e_Exists

public static final Symbol e_Exists
Word already exists.
See Also:
getError()

e_NoExists

public static final Symbol e_NoExists
Word does not exist.
See Also:
getError()

e_NotSupported

public static final Symbol e_NotSupported
Recognizer does not support function call.
See Also:
getError()

ev_Recognize

public static final Symbol ev_Recognize
EventID for recognize().

ev_GetResults

public static final Symbol ev_GetResults
EventID for getResults().

ev_GetFinalResults

public static final Symbol ev_GetFinalResults
EventID for getFinalResults().

ev_RetrieveRecognition

public static final Symbol ev_RetrieveRecognition
EventID for retrieveRecognition().

ev_Start

public static final Symbol ev_Start
EventID for start().

ev_Stop

public static final Symbol ev_Stop
EventID for stop().

ev_Idle

public static final Symbol ev_Idle
EventID for idle().

ev_UpdateParameters

public static final Symbol ev_UpdateParameters
EventID for updateParameters().

ev_GetRuleExpansion

public static final Symbol ev_GetRuleExpansion
EventID for getRuleExpansion().

ev_SetRuleExpansion

public static final Symbol ev_SetRuleExpansion
EventID for setRuleExpansion().

ev_ContextCopy

public static final Symbol ev_ContextCopy
EventID for contextCopy().

ev_ContextCreate

public static final Symbol ev_ContextCreate
EventID for contextCreate().

ev_ContextGetParameters

public static final Symbol ev_ContextGetParameters
EventID for contextGetParameters().

ev_ContextRemove

public static final Symbol ev_ContextRemove
EventID for contextRemove().

ev_ContextSetParameters

public static final Symbol ev_ContextSetParameters
EventID for contextSetParameters().

ev_WordCommit

public static final Symbol ev_WordCommit
EventID for wordCommit().

ev_WordCreate

public static final Symbol ev_WordCreate
EventID for wordCreate().

ev_WordDeleteLastUtterance

public static final Symbol ev_WordDeleteLastUtterance
EventID for wordDeleteLastUtterance().

ev_WordDeleteTraining

public static final Symbol ev_WordDeleteTraining
EventID for wordDeleteTraining().

ev_WordDestroy

public static final Symbol ev_WordDestroy
EventID for wordDestroy().

ev_WordTrain

public static final Symbol ev_WordTrain
EventID for wordTrain().

ev_RecognitionStarted

public static final Symbol ev_RecognitionStarted
Recognition has resumed due to RTC.
See Also:
ASREvent

ev_ValidUtterance

public static final Symbol ev_ValidUtterance
A valid utterance has been detected during training.
See Also:
ASREvent

ev_InvalidUtterance

public static final Symbol ev_InvalidUtterance
An invalid utterance has been detected during training.
See Also:
ASREvent

ev_IntermediateResultsReady

public static final Symbol ev_IntermediateResultsReady
Intermediate results are available.
See Also:
ASREvent

p_Rules

public static final Symbol p_Rules
Value is a String[] of names for all of the rules in the grammar.
Read-Only

p_PrivateRules

public static final Symbol p_PrivateRules
Value is a String[] of names for all of the private rules in the grammar.
Read-Only

p_PublicRules

public static final Symbol p_PublicRules
Value is a String[] of names for all of the public rules in the grammar.
Read-Only

p_ActiveRules

public static final Symbol p_ActiveRules
Value is a String[] of names of the active rules in the grammar.
Default value is a_DefaultRules
Set when Idle.

p_ActiveWords

public static final Symbol p_ActiveWords
Value is a String[] of the active words.
Defualt Value is all loaded words.
May be set in the Idle state.

p_LoadedWords

public static final Symbol p_LoadedWords
Value is a String[] of the loaded words.
Read-Only.

p_ActiveContexts

public static final Symbol p_ActiveContexts
Value is a String[] of the active contexts.
Defualt Value is all loaded contexts.
May be set in the Idle state.

p_LoadedContexts

public static final Symbol p_LoadedContexts
Value is a String[] of the loaded contexts.
Read-Only.

p_Trainable

public static final Symbol p_Trainable
Value is a boolean indicating whether this context can be trained.
May be set in the WordTrained state.

p_SpeakerType

public static final Symbol p_SpeakerType
Value is a Symbol indicating the type of recognition possible. The value must be v_Dependent, v_Independent, v_Identification, or v_Verification.
May be set in the WordTrained state.

p_Label

public static final Symbol p_Label
Value is an abstract String identifying a set of words and/or phrases.
May be set in the WordTrained state.

p_Language

public static final Symbol p_Language
Value is a String[] containing the languages recognised.
Read-Only.

p_Variant

public static final Symbol p_Variant
Value is a String[] containing the variants recognised.
Read-Only.

p_DetectionType

public static final Symbol p_DetectionType
Value is a Symbol describing the type of detection and must be v_Continuous or v_Discrete.
May be set in the WordTrained state.

p_Spotting

public static final Symbol p_Spotting
Value is a Symbol describing the availabiility of spotting and must be Available or NotAvailable.
May be set in the WordTrained state.

p_UtteranceType

public static final Symbol p_UtteranceType
Value is a Symbol describing the manner in which the utterance data is described to the recogniser for training and must be v_Phonetic, v_Speech, or v_Text.
May be set in the WordTrained state.

p_Size

public static final Symbol p_Size
Value is a vendor-defined heuristic describing the space requirements of the context when resident on the resource. Size is implicitly adjusted when training is performed on the resource.
Read-Only.

p_ContextType

public static final Symbol p_ContextType
Value is a Symbol indicating the actual type of the context to be loaded. The only ECTF-defined type is JSGF. Otherwise this is a vendor-defined symbol.
May be set in the WordTrained state.

p_Duration

public static final Symbol p_Duration
Value is maximum time window (in msecs). After this time the recognition terminates.
Possible values are 0 to 1000000 and ResourceConstants.v_Forever.
Default value is ResourceConstants.v_Forever

p_InitialTimeout

public static final Symbol p_InitialTimeout
Value is the initial timeout in msecs. If no utterance is detected in this period, recognition will be terminated and silence will be reported.
Possible values are 0 to 1000000 and ResourceConstants.v_Forever.
Default vlue is ResourceConstants.v_Forever

p_FinalTimeout

public static final Symbol p_FinalTimeout
Value is the silence time in msecs after the utterance to indicate the completion of the recognition.
Possible values are 0 to 1000000 and ResourceConstants.v_Forever.
Default vlue is ResourceConstants.v_Forever

p_EchoCancellation

public static final Symbol p_EchoCancellation
Value is a boolean that is true if echo cancellation is active.
Default value is true.

p_GrammarBargeInThreshold

public static final Symbol p_GrammarBargeInThreshold
Value is a minimum score at a barge-in node required to raise rtcc_GrammarBargeIn.
Possible values are 0 to 1000.
Default valueis 500.

p_State

public static final Symbol p_State
Value is the state of the recognizer.
Possible values are v_Idle, v_RecognitionPaused, v_Recognizing, v_ResultsAvailable, v_TrainingPaused, v_Training, and v_WordTrained.
Default is v_Idle.

Read-Only.


p_NumberWordsRequested

public static final Symbol p_NumberWordsRequested
Value is the number of words to return.
Default value is 1.

p_OutputType

public static final Symbol p_OutputType
Value is the type of output result provided.
Possible values are v_Text and v_Phonetic.
Default value is v_Text.

p_TopChoices

public static final Symbol p_TopChoices
Value is the number of alternative results returned.
Default value is 1.

p_ResultType

public static final Symbol p_ResultType
Value is a Symbol indicating if the result are final or intermediate.
Possible values are v_Final and v_Intermediate.
Default value is v_Final.

p_ResultPresentation

public static final Symbol p_ResultPresentation
Value is the method fo result presentation.
Possible values are v_TypeI and v_TypeII.
Default value is v_TypeII.

p_AutomaticTraining

public static final Symbol p_AutomaticTraining
AutomaticTraining.

p_NumberRepetitions

public static final Symbol p_NumberRepetitions
NumberRepetitions in Training.

p_EnabledEvents

public static final Symbol p_EnabledEvents
A Dictionary of ASR event Symbols, indicating which events are generated and delivered to the application. If a given eventID is not enabled, then no processing is expended to generate or distribute that kind of event.

Value is a Dictionary of non-transactional event Symbols.
Valid keys: ev_RecognitionStarted, ev_onValidUtterance, ev_InvalidUtterance, ev_IntermediateResultsReady
Valid values: Boolean.TRUE, Boolean.FALSE
Default value = no events.

For a ASRListener to receive events, those events must be enabled by setting this parameter. This parameter can be set in a ConfigSpec or by setParameters.

Note: This parameter controls the generation of events. The events cannot be delivered unless a ASRListener is added using addMediaListener.


p_TrainingType

public static final Symbol p_TrainingType
TrainingType.

p_StoreInput

public static final Symbol p_StoreInput
StoreInput in Speech Buffer.

p_PlayInput

public static final Symbol p_PlayInput
PlayInput in Speech Buffer.

p_StartPaused

public static final Symbol p_StartPaused
Indicates if Recognizer starts in Paused mode.

Value is a Boolean.


p_SpecificUtterance

public static final Symbol p_SpecificUtterance
Utterances which triggers rtcc_SpecficUtterance.

Value is a String[], each String represents an utterance. When any of these utterances are recognized, rtcc_SpecificUtterance is triggered.


p_UpdateParametersList

public static final Symbol p_UpdateParametersList
These parameters are updated when rtca_UpdateParameters fires.

rtca_Start

public static final Symbol rtca_Start
Start the paused recognition or training.
Next state is Recognizing or Training.

rtca_Stop

public static final Symbol rtca_Stop
Stop recognition or training.
Next state is ResultsAvailable or WordTrained.

rtca_Idle

public static final Symbol rtca_Idle
Stop recognition or training and return to Idle state.
Next state is Idle.

rtca_UpdateParameters

public static final Symbol rtca_UpdateParameters
Update parameters given in p_UpdateParametersList.

rtcc_RecognizeStarted

public static final Symbol rtcc_RecognizeStarted
Trigger when the recognizer has start operating.

rtcc_TrainStarted

public static final Symbol rtcc_TrainStarted
Trigger when the recognizer has start training.

rtcc_SpeechDetected

public static final Symbol rtcc_SpeechDetected
Trigger when speech has been detected.

rtcc_SpecificUtterance

public static final Symbol rtcc_SpecificUtterance
Trigger when a specifically defined utterance is detected.
See Also:
p_SpecificUtterance

rtcc_Recognize

public static final Symbol rtcc_Recognize
Trigger when recognition ends normally.

rtcc_WordTrain

public static final Symbol rtcc_WordTrain
Trigger when word training ends normally.

rtcc_WordTrained

public static final Symbol rtcc_WordTrained
Trigger when word training is complete.

rtcc_ValidUtteranceFound

public static final Symbol rtcc_ValidUtteranceFound
Trigger when a valid utterance has been detected even though recognition may not be finished.

rtcc_ValidUtteranceFinal

public static final Symbol rtcc_ValidUtteranceFinal
Trigger when a valid utterance has been detected and recognition has completed.

rtcc_Silence

public static final Symbol rtcc_Silence
Trigger when silence is detected.

rtcc_InvalidUtterance

public static final Symbol rtcc_InvalidUtterance
Trigger when an invalid utterance is detected.

rtcc_GrammarBargeIn

public static final Symbol rtcc_GrammarBargeIn
Trigger when the grammar has detected barge-in.

v_TypeI

public static final Symbol v_TypeI
A Value indicating the results are of Type I.
See Also:
a_ResultPresentation, p_ResultPresentation, getResultPresentation

v_TypeII

public static final Symbol v_TypeII
A Value indicating the results are of Type II.
See Also:
a_ResultPresentation, p_ResultPresentation, getResultPresentation

v_Normal

public static final Symbol v_Normal
a value indicating the token is normal, and contains a string.
See Also:
getTokenQualifier, getSequenceQualifier

v_Garbage

public static final Symbol v_Garbage
a value indicating the token represents garbage.
See Also:
getTokenQualifier, getSequenceQualifier

v_Silence

public static final Symbol v_Silence
a value indicating the token represents silence.
See Also:
getTokenQualifier, getSequenceQualifier

v_GrammarTag

public static final Symbol v_GrammarTag
A value indicating that the token is NULL, and a grammar tag is provided instead.
See Also:
getTokenQualifier

v_Ready

public static final Symbol v_Ready
The Word has sufficient training available.
See Also:
getReadiness

v_NotReady

public static final Symbol v_NotReady
The Word does not have sufficient training available.
See Also:
getReadiness

v_Complete

public static final Symbol v_Complete
The Word has sufficient training available, and additional training will be ignored.
See Also:
getReadiness

v_Success

public static final Symbol v_Success
The training succeeded.
See Also:
getTrainingResult()

v_Collision

public static final Symbol v_Collision
The training is too close to the training of another Word in an active Context on the Recognizer.
See Also:
getTrainingResult()

v_Inconsistent

public static final Symbol v_Inconsistent
The training is inconsistent with previous training for this Word.
See Also:
getTrainingResult()

v_Noisy

public static final Symbol v_Noisy
The background for this training was too noisy.
See Also:
getTrainingResult()

v_Idle

public static final Symbol v_Idle
The recogniser is idle.
See Also:
p_State

v_RecognitionPaused

public static final Symbol v_RecognitionPaused
The recogniser is paused.
See Also:
p_State

v_Recognizing

public static final Symbol v_Recognizing
The recogniser is recognising.
See Also:
p_State

v_ResultsAvailable

public static final Symbol v_ResultsAvailable
The recogniser has results available.
See Also:
p_State

v_TrainingPaused

public static final Symbol v_TrainingPaused
The recogniser is training and is paused.
See Also:
p_State

v_Training

public static final Symbol v_Training
The recogniser is training.
See Also:
p_State

v_WordTrained

public static final Symbol v_WordTrained
The recogniser has trained a word.
See Also:
p_State

v_Text

public static final Symbol v_Text
Value of a parameter indicating that results are returned as text.
See Also:
p_UtteranceType, p_OutputType

v_Phonetic

public static final Symbol v_Phonetic
Value of a parameter indicating that results are returned as a phonetic transcription.
See Also:
p_UtteranceType, p_OutputType

v_Speech

public static final Symbol v_Speech
Value of a parameter indicating that results are returned as speech.
See Also:
p_UtteranceType, p_OutputType

v_Independent

public static final Symbol v_Independent
Value indicates speaker independent recognition is supported.
See Also:
p_SpeakerType, a_SpeakerType

v_Dependent

public static final Symbol v_Dependent
Value indicates speaker dependent recognition is supported.
See Also:
p_SpeakerType, a_SpeakerType

v_Identification

public static final Symbol v_Identification
Value indicates speaker identification is supported.
See Also:
p_SpeakerType, a_SpeakerType

v_Verification

public static final Symbol v_Verification
Value indicates speaker verification is supported.
See Also:
p_SpeakerType, a_SpeakerType

v_Continuous

public static final Symbol v_Continuous
Value indicates a detection type of continuous.
See Also:
p_DetectionType, a_DetectionType

v_Discrete

public static final Symbol v_Discrete
Value indicates a detection type of discrete.
See Also:
p_DetectionType, a_DetectionType

v_Mutable

public static final Symbol v_Mutable
Value indicates that intermediate results may change with time.
See Also:
a_IntermediateResults

v_Immutable

public static final Symbol v_Immutable
Value indicates that intermediate results do not change with time.
See Also:
a_IntermediateResults

v_NotModifiable

public static final Symbol v_NotModifiable
Value indicates that the word cannot be modified after being committed to context.
See Also:
a_TrainingModifiable

v_Retrain

public static final Symbol v_Retrain
Value indicates that the word can be retrained after it has been added to Context.
See Also:
a_TrainingModifiable

v_AddTraining

public static final Symbol v_AddTraining
Value indicates that the word can have additional training added after is has been added to Context.
See Also:
a_TrainingModifiable

v_Final

public static final Symbol v_Final
Value indicates the results are final.
See Also:
p_ResultType

v_Intermediate

public static final Symbol v_Intermediate
Value indicates the results are intermediate.
See Also:
p_ResultType

q_Success

public static final Symbol q_Success
The latest utterance was successfully recognised.
See Also:
getQualifier()

q_Stop

public static final Symbol q_Stop
The training or recognition was stopped via the ASR Stop command or a RTC.
See Also:
getQualifier()

q_InitialTimeout

public static final Symbol q_InitialTimeout
The training failed because the initial timeout timer expired.
See Also:
getQualifier()

q_Failure

public static final Symbol q_Failure
The latest utterance was not successful.
See Also:
getQualifier()

q_Warning

public static final Symbol q_Warning
Although the latest utterance was added to the training set, the Recognizer has detected potential problems. Use * ASREvent.getTrainingResult() to determine the type of problem.
See Also:
getQualifier()

q_Complete

public static final Symbol q_Complete
Training is complete.
See Also:
getQualifier()

q_Silence

public static final Symbol q_Silence
The recogniser heard no utterance.
See Also:
getQualifier()

q_Unsuccessful

public static final Symbol q_Unsuccessful
Training was unsuccessful due to a collision.
See Also:
getQualifier()

q_Rejected

public static final Symbol q_Rejected
The recogniser rejected the utterance as unrecognisable.
See Also:
getQualifier()

v_FromResource

public static final Symbol v_FromResource
direction argument in contextCopy().

v_ToResource

public static final Symbol v_ToResource
direction argument in contextCopy().

v_ToResourceTraining

public static final Symbol v_ToResourceTraining
direction argument in contextCopy().

v_Class

public static final Symbol v_Class
Indicates the ASR Resource Class in a ResourceSpec.

JSR-043: JTAPI-1.4

Send comments to: JSR-43@ectf.org