Yeah, I think that it needed pulse audio installed. Here's what I used:
Code: Select all
sudo apt-get install pulseaudio libpulse-dev
Thing is, pocketsphinx isn't very accurate, so even though its offline, it doesn't really turn the speech to text accurately at all.
Aim for perfect and you'll hit somewhere near pretty good. (maybe...)