Namespaces | |
namespace | internal |
Functions | |
void | init (const std::string &vocePath, bool initSynthesis, bool initRecognition, const std::string &grammarPath, const std::string &grammarName) |
void | destroy () |
void | synthesize (const std::string &message) |
void | stopSynthesizing () |
int | getRecognizerQueueSize () |
std::string | popRecognizedString () |
void | setRecognizerEnabled (bool e) |
bool | isRecognizerEnabled () |
Variables | |
const std::string | pathSeparator = ":" |
|
In addition to the usual Java Voce destroy call, this function performs some extra stuff needed to destroy the virtual machine. Definition at line 259 of file voce.h. References voce::internal::log(). |
|
Returns the number of recognized strings currently in the recognizer's queue. Definition at line 331 of file voce.h. References voce::internal::log(). |
|
Initializes Voce. This function performs some extra stuff needed to setup the Java virtual machine and cache the Java method IDs. The 'vocePath' argument is the path to the Voce class files and config file. This path can be absolute or relative to the working directory of the executable using Voce. See documentation for the Java version for an explanation of the rest of the parameters. Definition at line 132 of file voce.h. References voce::internal::loadJavaMethodID(), and voce::internal::log(). |
|
Returns true if the recognizer is currently enabled.
Definition at line 385 of file voce.h. References voce::internal::log(). |
|
Returns and removes the oldest recognized string from the recognizer's queue. Definition at line 346 of file voce.h. References voce::internal::log(). |
|
Enables and disables the speech recognizer.
Definition at line 371 of file voce.h. References voce::internal::log(). |
|
Tells the speech synthesizer to stop synthesizing. This cancels all pending messages. Definition at line 316 of file voce.h. References voce::internal::log(). |
|
Requests that the given string be synthesized as soon as possible.
Definition at line 298 of file voce.h. References voce::internal::log(). |
|
|