Is there any way I can input text in a python program using only my voice? Any help for code and/or modules I'll need would be appreciated, so far I am in the process of creating a program which will answer set questions with a audio file, like siri but more custom, I am using the pygame module at the moment for the audio files to play, the program works with a keyboard input but a voice input would be so much cooler. Also has to be offline. thanks
Carnegie Mellon University created a lightweight Speech-To-Text system called Sphinx. Enough people have done development in this area and have written python wrappers for it. You can find them here:
You can also google 'CMU PocketSphinx Python'