View Single Post
Old 10-31-10, 06:49 PM   #221
skwasjer
The Old Man
 
Join Date: Apr 2007
Location: Netherlands
Posts: 1,547
Downloads: 26
Uploads: 3
Default

It seems w3c has taken the grammar.dtd offline, or private, causing the mod to stop working. To work around this, do the following:
  1. Disable mod with JSGME.
  2. Download this file: http://s3d.skwas.com/redist/speechre...rammar.dtd.rar
  3. Open the package and extract the DTD-file to the following location INSIDE the mod (1.4): Data\Sound\Speech
  4. Open the SHSpeech_Grammar.xml file with Notepad, and change the following line:

    <!DOCTYPE grammar PUBLIC "-//W3C//DTD GRAMMAR 1.0//EN" "http://www.w3.org/TR/speech-grammar/grammar.dtd">


    into:

    <!DOCTYPE grammar PUBLIC "-//W3C//DTD GRAMMAR 1.0//EN" "data/sound/speech/grammar.dtd">
  5. Reactivate the mod. Check the test application to see if voice recognition works again.
Now, the DTD no longer is loaded from w3c.

Enjoy...
skwasjer is offline   Reply With Quote