profmason.com

February 10, 2010

Working with Nuance 8.5 SDK

Filed under: Daily — profmason @ 10:33 am

I started with a working installation to test things against.  If you have already built an environment that works on a flash drive this is very simple.

  1. Create a directory called “Nuance85″ on you C drive.
  2. Copy the V8.5.0 directory to this Nuance directory.
  3. Copy the Vocalizer4.0 directory to this Nuance directory.
  4. In your working directory, check your “config.bat” file.  Make sure the paths are correct.
  5. Now you can start the license manager, followed by the resource manager, followed by the vocalizer and the recognizer.
  6. It seems like only the recognizer needs to be shut down between each change in your code or grammar.

Now on to setting up the visual studio environment to point to the appropriate libraries.

If you have the apple-banana program then import the visual studio 6 project into visual studio 2008.  You will need to go to the “Projects” menu and select “… Properties” at the bottom of the menu.  Now, change the additional include directories to point to your Nuance85 directory as shown.

Both the C/C++ General properties, Additional Include Directories AND Linker General properties, Additional Library directories need to be changed.   The library directories be set to point to “C:\Nuance85\V8.5.0\lib\win32″ or to your nuance lib/win32 directory.

You should now be able to build your application.  Once it is built, restart the recognizer and run “startapp.bat”  If you want to change the location of your app, you need to edit your config file again.

If you want to edit just the grammar, you can edit the appropriate grammar file and then run the compile.bat file to recompile your grammar.  The recognizer must be restarted after a new grammar is compiled.

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment

You must be logged in to post a comment.

Powered by WordPress