Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Python

Ai/Chatprogram voice recognition

Hey

I am currently working on a small AI/Chatbot program and I ran into a problem. I have most of the programming figured out, the tts runs smoothly but I just can seem to figure out how to install and or code a voice recognition software/script/library. If anyone could guide me in the right direction or link me to a good website. It would be truly appreciated. The things I need/ use: I need the voice recognition to be able to work offline so something like google API won’t work in my case. I also need the voice recognition software/script/library to be reprogrammable so that the system/AI can output an answer. So it can’t be a standalone program (I think) I am using Python on windows (64 bit (if it matters)) and my current libraries are import os and import sys I am using python 2.7

It would help a lot if there was a complete guide or video explaining how to install and so on

Thanks in advance 

1 Answer

I didn't see a guide, but here's a Python library that might help: speech_recognition.