Operations Summary: | |
void | initWithLocaleAndDictationSupported(in string locale, in Tristate dictationGrammarSupported) |
void | initWithNameAndStateAndDictationSupported(in string engineName, in string modeName, in string locale, in Tristate running, in Tristate dictationGrammarSupported, in SpeakerProfileArray profiles) |
void | addSpeakerProfile(in SpeakerProfile profile) |
SpeakerProfileArray | getSpeakerProfiles() raises |
SpeakerProfileArray | getSpeakerProfilesImpl() |
Tristate | isDictationGrammarSupported() |
void | setDictationGrammarSupported(in Tristate dictationGrammarSupported) |
void | setSpeakerProfiles(in SpeakerProfileArray speakers) |
Operations Inherited from EngineModeDesc | |
initWithLocale, initWithNameAndState, equals, getEngineName, getLocale, getModeName, getRunning, match, setEngineName, setLocale, setModeName, setRunning |
Operations Inherited from Bonobo::Unknown | |
ref, unref, queryInterface |
Operation Details: |
Initialize a RecognizerModeDesc
given a locale and
the dictation flag. The speaker profiles array and other features
are all null.
Initialize a fully-specified descriptor.
Add a speaker profile to the SpeakerProfile
array.
Returns the list of speaker profiles known to this mode of this
recognition engine. Returns null if speaker training is not
supported (SpeakerManager
not implemented). Returns
zero-length array if speaker training is supported but no
speaker profiles have been constructed yet.
The list of speaker profiles is the same as returned by the the
listKnownSpeakers
method of
SpeakerManager
if this engine is running.
SpeakerManager#listKnownSpeakers
Version of getSpeakerProfiles
that performs the
operation. This method can be overridden in sub-classes. However,
application can only call the getSpeakerProfiles
method which does a security check.
getSpeakerProfiles
Test whether this engine mode provides a
DictationGrammar
. The value may be TRUE,
FALSE or null
. A null
value means
"don't care".
DictationGrammar
.
Set the dictationGrammarSupported parameter. The value may be TRUE,
FALSE or null
. A null
value means
"don't care".
Set the list of speaker profiles. May be null
.