views:

548

answers:

2

Hi,

I've got Sphinx-4 installed on my windows XP system and JSAPI set up. I'd like to transcribe an English spoken WAV (or MP3) file to text.

When I run the "WavFile" demo - it runs successfully.

java -jar WavFile.jar

But, when I pass my own wav file like this:

java -jar WavFile.jar c:\test.wav

I get:

Loading Recognizer as defined in 'jar:file:/C:/sphinx4-1.0beta3-bin/sphinx4-1.0beta3/bin/WavFile.jar!/edu/cmu/sphinx/demo/wavfile/config.xml'...

Decoding jar:file:/C:/sphinx4-1.0beta3-bin/sphinx4-1.0beta3/bin/WavFile.jar!/edu/cmu/sphinx/demo/wavfile/12345.wav Result: one two three four five

It seems this demo is setup to load and run an internal wav file ("12345.wav") or something.

I've read the docs and just can't figure how to setup the "config.xml" or even what directory to place it in. I'm just trying to get a simple proof of concept running using the standard demos.

So, the question is: how do I run a Sphinx4 program to transcribe a wav file?

Thanks.

A: 

Hi Jim,

Not sure if you still need the answer. But I think this link is what you want (but only works for digital data): http://cmusphinx.sourceforge.net/sphinx4/src/apps/edu/cmu/sphinx/demo/transcriber/README.html

chawei