pocketsphinx_continuous

ffmpeg -i file.mp3 -ar 16000 -ac 1 file.wav

The run pocketsphinx

pocketsphinx_continuous -infile file.wav 2> pocketsphinx.log > result.txt