i exploring speech recognition , came across python library called speechrecognition. running linux mint system , have followed troubleshooting steps on webpage linked above. however, following error:
traceback (most recent call last): file "test.py", line 4, in <module> audio = r.listen(source) # listen first phrase , extract audio data file "/usr/local/lib/python2.7/dist-packages/speech_recognition/__init__.py", line 268, in listen buffer = source.stream.read(source.chunk) file "/usr/lib/python2.7/dist-packages/pyaudio.py", line 605, in read return pa.read_stream(self._stream, num_frames) keyboardinterrupt any appreciated. understand keyboardinterrupt part of error doing, pressing ctrl+c.
Comments
Post a Comment