I installed pocketsphinx in my Linux machine correctly, and now I want to convert an audio file (.wave) to text by using pocketsphinx,how can i do that? is there any clear command and short command to do that? somthing like this command:
./src/programs/pocketsphinx_continuous -samprate 8000 -nfft 2048 -adcdev hw:1,0 -lm 2530.lm -dict 2530.dic myvoice.wav
and also how can I do that with using python? Thanks in advance.
I find my answer, pocketsphinx with version 0.8 has an option that can do that:
pocketsphinx_continuous -infile myfile.wav
however file must be in a specific format: 16khz 16bit mono wav file
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With