This is a python script that will first recognize whether device is connected to internet or not, on the basis of that information it will choose proper speech recognition engine and apply to the service. I have also added a model(Indian english) which i have trained with my voice you can try that model.
- install all the dependencies above.
- download or clone repo.
- open command prompt or terminal.
- go to the repo folder.
- run script.
You can make your own speech recognition model and just replace my model with your model.To replace go to line.68 in script.py and add the path specified in comments.