Latest recipes tagged "speech_recognition"http://code.activestate.com/recipes/tags/speech_recognition/new/2015-10-22T13:09:02-07:00ActiveState Code RecipesRecognizing speech (speech-to-text) with the Python speech module (Python) 2015-10-22T13:09:02-07:00Vasudev Ramhttp://code.activestate.com/recipes/users/4173351/http://code.activestate.com/recipes/579115-recognizing-speech-speech-to-text-with-the-python-/ <p style="color: grey"> Python recipe 579115 by <a href="/recipes/users/4173351/">Vasudev Ram</a> (<a href="/recipes/tags/language_translation/">language_translation</a>, <a href="/recipes/tags/python/">python</a>, <a href="/recipes/tags/python2/">python2</a>, <a href="/recipes/tags/speech_recognition/">speech_recognition</a>, <a href="/recipes/tags/windows/">windows</a>). </p> <p>This recipe shows how to use the 'speech' (or 'pyspeech' - it seems to have two names) Python library to make the computer recognize what you say and convert it to text. Note: This library did not always give correct results for me, so it may not be advisable to use it in production. Also, the pyspeech site says that the library is no longer being maintained. Use at your own risk.</p> Speech recognition and voice synthesis in Python for Windows (Python) 2008-08-14T16:57:43-07:00Michaelhttp://code.activestate.com/recipes/users/4166101/http://code.activestate.com/recipes/576412-speech-recognition-and-voice-synthesis-in-python-f/ <p style="color: grey"> Python recipe 576412 by <a href="/recipes/users/4166101/">Michael</a> (<a href="/recipes/tags/speech/">speech</a>, <a href="/recipes/tags/speech_recognition/">speech_recognition</a>, <a href="/recipes/tags/text_to_speech/">text_to_speech</a>, <a href="/recipes/tags/tts/">tts</a>, <a href="/recipes/tags/voice/">voice</a>, <a href="/recipes/tags/voice_recognition/">voice_recognition</a>). Revision 10. </p> <p>How to use the speech module to use speech recognition and text-to-speech in Windows XP or Vista.</p> <p>The voice recognition system can listen for specific phrases, or it can listen for general dictation.</p> <p>You can use speech.input() like you would use raw_input(), to wait for spoken input and get it back as a string. Or, you can set up a callback function to be run on a separate thread whenever speech events are heard. Multiple callbacks can be set up for multiple speech recognition events.</p> <p>Uses the Python speech module: <a href="http://pyspeech.googlecode.com" rel="nofollow">http://pyspeech.googlecode.com</a> .</p>