The regserver
(Regulus Server) utility is a runtime component that connects to a NuanceTM recognition server, and performs recognition and playback.
The utility listens on a socket for incoming requests, and forwards the requested operation to the nuance platform.
The regserver takes as input a mandatory argument which points to a compiled recognition package (-package), and optionally
Usage: ${REGULUS}/RegulusSpeechServer/runtime/regserver.exe \ -packageA convenient way to run a regserver process is to use the REGULUS Java API.\ [nuance parameters] \ [-port ] \ [-v] \ [-f ]
// run the regserver process and open a connection to it RegClient regClient = new RegClient("localhost", "2555", "audio.OutputVolume=200", "path/to/regserver.exe -v -f /path/to/logfile.txt", 2000); // start a recognition action, and wait for it's completion RegResult result = regClient.recognize(".MAIN"); // print the result if( result.isActionSuccesfull() ){ System.out.println("Recognition result: '" + result.getRecognition() + "'"); } // shutdown connection to regserver, and exit regserver process regClient.shutdown();
No, you can interface to the recognition engine yourself:
REGULUS is a utility that compiles unification grammars. Once you've compiled your grammar you don't need any additionl REGULUS runtime component.
Regserver and the Java API are provided to help develop applications faster.