Note: Needed permissions for Android: RECORD_AUDIO
, INTERNET
[if you want online voice recognition API to be used]
>>> from Speechrecognizer import stt
>>> stt.start()
>>> assert stt.listening
>>> print(stt.partial_results)
>>> stt.stop()
>>> print(stt.results)