i just following this >> steps << and works well,
now, how do i get started with python? i tried this code:
import speech_recognition as sr
# obtain audio from the microphone
r = sr.Recognizer()
with sr.Microphone() as source:
print("Say something!")
audio = r.listen(source)
# recognize speech using Sphinx
try:
print("Sphinx thinks you said " + r.recognize_sphinx(audio))
except sr.UnknownValueError:
print("Sphinx could not understand audio")
except sr.RequestError as e:
print("Sphinx error; {0}".format(e))
and got an error:
Sphinx error; missing PocketSphinx module: ensure that PocketSphinx is set up correctly.
speech_recognition already installed, but i'm not sure with pocketsphinx and sphinxbase. everything i did just following: https://cmusphinx.github.io/wiki/tutorialpocketsphinx/