<div dir="ltr">I&#39;m pleased to announce version 0.5 of the Python speech recognition module, speech.py.<br><br>What is speech.py?<br>===============<br><br>speech.py provides a clean and simple interface to the Microsoft Speech Kit, allowing your Windows Python program to speak out loud and to recognize spoken input.<br>
<br>Homepage: <a href="http://pyspeech.googlecode.com/">http://pyspeech.googlecode.com/</a><br>PyPI: <a href="http://pypi.python.org/pypi/speech/">http://pypi.python.org/pypi/speech/</a><br>Installation: &quot;easy_install speech&quot; (you may also need one or two programs that are available via the homepage)<br>
<br>What&#39;s new in version 0.5?<br>===================<br><br>The most important addition is support for synchronous speech recognition, allowing you to detect speech much as raw_input() detects typing.&nbsp; For example, the following code detects speech and repeats what was heard:<br>
<br>&nbsp; import speech<br>&nbsp; answer = speech.input(&quot;Say something.&quot;)<br>&nbsp; speech.say(&quot;You said: %s&quot; % answer)<br>&nbsp; answer = speech.input(&quot;Say a number less than three.&quot;, [&quot;Zero&quot;, &quot;One&quot;, &quot;Two&quot;])<br>
&nbsp; speech.say(&quot;You picked %s&quot; % answer)<br><br>(This is in addition to the existing asynchronous API, allowing you to register callbacks to execute whenever certain spoken text is heard.)<br><br>This release also represents a stabilization of the API and documentation -- thank you to the users to worked with early versions of the module as the API was refined.&nbsp; This will likely be the last release announced before 1.0, when support for grammar state machines is added.<br>
<br>Example application: MusicButler<br>========================<br><br>An example application is available at <a href="http://musicbutler.googlecode.com">http://musicbutler.googlecode.com</a> -- a robot that learns your MP3 collection and then lets you control your stereo via voice interaction..&nbsp; MusicButler is in alpha and doesn&#39;t warrant its own announcement yet; but it is a good example of a complex speech application.<br>
</div>