How to give an input wav file to pocket sphinx
问题 Is there some command line utility of pocket sphinx or cmu sphinx to convert a .wav file to text? pocketsphinx_continuous -hmm -lm -dict will do. But I don't want to keep speaking the same sentence again and again. 回答1: pocketsphinx_continuous starting from version 0.8 has option -infile which you can use to decode a file. File must be in a specific format: 16khz 16bit mono wav file pocketsphinx_continuous -infile file.wav 来源: https://stackoverflow.com/questions/20303092/how-to-give-an-input