Speech recognition module for Python, supporting several engines and APIs, online and offline.
SpeechRecognition 3.10.3 was out🎉
Get all of these and more with a quick pip install --upgrade SpeechRecognition
.
Enjoy!
pip install SpeechRecognition[whisper-local]
pip install SpeechRecognition[whisper-api]
Full Changelog: https://github.com/Uberi/speech_recognition/compare/3.10.2...3.10.3
SpeechRecognition 3.10.2 was out🎉
Get all of these and more with a quick pip install --upgrade SpeechRecognition
.
Enjoy!
Thanks to all contributors!
Full Changelog: https://github.com/Uberi/speech_recognition/compare/3.10.1...3.10.2
SpeechRecognition 3.10.1 was out🎉
Get all of these and more with a quick pip install --upgrade SpeechRecognition
.
Enjoy!
Thanks to all contributors!
Full Changelog: https://github.com/Uberi/speech_recognition/compare/3.10.0...3.10.1
SpeechRecognition 3.10.0 was out🎉
Get all of these and more with a quick pip install --upgrade SpeechRecognition
.
Enjoy!
Thanks❤️
recognize_whisper
by @ftnext in https://github.com/Uberi/speech_recognition/pull/647
Thanks to all contributors!
Full Changelog: https://github.com/Uberi/speech_recognition/compare/3.9.0...3.10.0
SpeechRecognition 3.9.0 was out on December 2022🎉
Get all of these and more with a quick pip install --upgrade SpeechRecognition
.
Enjoy!
Thanks for making SpeechRecognition even more wonderful! 🙌
recognize_tensorflow
by @chriamue in https://github.com/Uberi/speech_recognition/pull/296
recognize_vosk
by @mytja in https://github.com/Uberi/speech_recognition/pull/513
recognize_amazon
and recognize_assemblyai
by @chrisspen in https://github.com/Uberi/speech_recognition/pull/434
recognize_whisper
by @joy-void-joy in https://github.com/Uberi/speech_recognition/pull/625
Thanks!👏
Thanks!❤️
Thanks to all contributors!
Full Changelog: https://github.com/Uberi/speech_recognition/compare/3.8.1...3.9.0
Lots of changes since June! Summary below. Get all of these and more with a quick pip install --upgrade SpeechRecognition
.
snowboy_configuration
parameter of recognizer_instance.listen
.language
parameter of recognizer_instance.recognize_sphinx
(thanks @frawau!).audio_data_instance.get_segment(start_ms=None, end_ms=None)
is a new method that can be called on any AudioData instance to get a segment of the audio starting at start_ms
and ending at end_ms
. This is really useful when you want to get, say, only the first five seconds of some audio.stopper
function returned by listen_in_background
now accepts one parameter, wait_for_stop
(defaulting to True
for backwards compatibility), which determines whether the function will wait for the background thread to fully shutdown before returning. One advantage is that if wait_for_stop
is False
, you can call the stopper
function from any thread!recognize_google_cloud
now uses the v1 rather than the beta API (thanks @oort7!).recognize_google_cloud
now returns timestamp info when the show_all
parameter is True
.recognize_bing
won't time out as often on credential requests, due to a longer default timeout.recognize_google_cloud
timeouts respect recognizer_instance.operation_timeout
now (thanks @reefactor!).As usual, get it with pip install --upgrade SpeechRecognition
grammar
parameter for recognizer_instance.recognize_sphinx
- now, you can specify a JSGF or FSG grammar to PocketSphinx (thanks @aleneum!).urllib.request
behavior made requests fail in certain situations.Quick bugfix for PortableNamedTemporaryFile
:
Bugfix release!
tempfile.NamedTemporaryFile
on Windows, by replacing it with a PortableNamedTemporaryFile
class. Previously, it didn't necessarily support the file being re-opened after originally opened.phrase_time_limit
being ignored for listen_in_background
(thanks @dodysw!)Small bugfix release: