BZSRTask Class Reference
Inherits from | NSObject |
Declared in | BZMediaParams.h |
Tasks
-
m_strTaskID
The ID of the speech recognition task. This ID is provided by the client. Client will receive this ID with all event notifications and callbacks associated with speech recognition using this task. Default: nil.
-
m_strTaskData
Pocket Sphinx SR only. This parameter contains the file pathname URL for the speech recognition task types SRTT_JSGF and SRTT_FSG. This parameter can also contain the actual speech recognition task data for some speeh recognition task type (SRTT_JSGF_STRING, SRTT_KEYPHRASE and SRTT_KWS), which also allows application to pass dynamic task data generated by client during runtime. Default: nil.
-
m_eTaskType
Pocket Sphinx SR only. This parameter contains type of the speech recognition task as defined in BZSRTaskType. Default: BZSRTaskType:SRTT_UNKNOWN.
-
m_strTaskRule
Pocket Sphinx SR only. This parameter contains the speech recognition task rule to load and execute. Default: nil.
-
m_eTaskHint
Apple SR only. This parameter contains the speech recognition hint as defined in BZTaskHint. Default: BZTaskHint:SRHINT_UNSPECIFIED.
-
m_bReportPartialResults
Enables or disables reporting partial results to the client. Default: FALSE.
-
m_CustomWordList
Pocket Sphinx SR only. This parameter contains the custom word list and associated phonemes to use for speech recognition of the word list. Default: nil. Example of custom word list entries: “ababa AH B AA B AH”,“ababa(2) AA B AH B AH”,etc.
-
m_ContextualPhraseList
Apple SR only. This parameter contains the contextual phrase list to enable for speech recognition. Contextual phare list usually contains phrases that contain unknown words. Default: nil. Example of contextual phrase list: “meemzee”,“wake up dahna”,etc.
-
m_bAutoResolveWordsNotFound
Pocket Sphinx SR only. This parameter enables speech recognizer to recognize unknown words present in the speech recognition task data without providing the associated phonemes using the m_CustomWordList parameter. Default: TRUE.
-
m_bReloadTask
Pocket Sphinx SR only. This parameter enables reloading a speech recognition task every time the task is used for speech recognition. This flag must be set to true for the task to be reloaded if any of the parameters are different from those of a previously loaded SR task with the same task ID. Default: FALSE.
Properties
m_ContextualPhraseList
@property NSArray *m_ContextualPhraseList
Discussion
Apple SR only. This parameter contains the contextual phrase list to enable for speech recognition. Contextual phare list usually contains phrases that contain unknown words. Default: nil. Example of contextual phrase list: “meemzee”,“wake up dahna”,etc.
Declared In
BZMediaParams.h
m_CustomWordList
@property NSArray *m_CustomWordList
Discussion
Pocket Sphinx SR only. This parameter contains the custom word list and associated phonemes to use for speech recognition of the word list. Default: nil. Example of custom word list entries: “ababa AH B AA B AH”,“ababa(2) AA B AH B AH”,etc.
Declared In
BZMediaParams.h
m_bAutoResolveWordsNotFound
@property BOOL m_bAutoResolveWordsNotFound
Discussion
Pocket Sphinx SR only. This parameter enables speech recognizer to recognize unknown words present in the speech recognition task data without providing the associated phonemes using the m_CustomWordList parameter. Default: TRUE.
Declared In
BZMediaParams.h
m_bReloadTask
@property BOOL m_bReloadTask
Discussion
Pocket Sphinx SR only. This parameter enables reloading a speech recognition task every time the task is used for speech recognition. This flag must be set to true for the task to be reloaded if any of the parameters are different from those of a previously loaded SR task with the same task ID. Default: FALSE.
Declared In
BZMediaParams.h
m_bReportPartialResults
@property BOOL m_bReportPartialResults
Discussion
Enables or disables reporting partial results to the client. Default: FALSE.
Declared In
BZMediaParams.h
m_eTaskHint
@property BZTaskHint m_eTaskHint
Discussion
Apple SR only. This parameter contains the speech recognition hint as defined in BZTaskHint. Default: BZTaskHint:SRHINT_UNSPECIFIED.
Declared In
BZMediaParams.h
m_eTaskType
@property BZSRTaskType m_eTaskType
Discussion
Pocket Sphinx SR only. This parameter contains type of the speech recognition task as defined in BZSRTaskType. Default: BZSRTaskType:SRTT_UNKNOWN.
Declared In
BZMediaParams.h
m_strTaskData
@property NSString *m_strTaskData
Discussion
Pocket Sphinx SR only. This parameter contains the file pathname URL for the speech recognition task types SRTT_JSGF and SRTT_FSG. This parameter can also contain the actual speech recognition task data for some speeh recognition task type (SRTT_JSGF_STRING, SRTT_KEYPHRASE and SRTT_KWS), which also allows application to pass dynamic task data generated by client during runtime. Default: nil.
Declared In
BZMediaParams.h