No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
3 Posted Topics
Re: Hi, I've written a simple speech synthesis and recognition module for Python that should help you out: speech.py . To install it, type easy_install speech in the C:\Program Files\Python25\Scripts directory. (If that doesn't work, save and run the script at [url]http://peak.telecommunity.com/dist/ez_setup.py[/url] , then try it again.) then try running the … | |
Re: Loren, subject_pronouns[0] is "you". So your code actually checks if the first word is "you", not "I". And as the above poster mentioned, string.replace() takes two arguments: the old text, and the new text. Try typing "help(str.replace)" in Python. (The help system is great -- you can type help(anything) and … | |
Re: Loren, Your struggling with Surguy's example speech code was enough to make me write my own Python Speech Recognition module, so that speech recognition would be easier to work with. The 'speech' module is available by typing 'easy_install speech' at the Windows command prompt (if you've got easy_install installed.) You'll … |
The End.