Speechrecognition

Latest version: v3.14.1

Safety actively analyzes 701809 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 6

3.14.1

Get all of these and more with a quick `pip install --upgrade SpeechRecognition`.
Enjoy!

What's Changed

Improvements

* Support PocketSphinx >= 5
* Fix PocketSphinx tests failure on ubuntu-24.04 by ftnext in https://github.com/Uberi/speech_recognition/pull/823

**Full Changelog**: https://github.com/Uberi/speech_recognition/compare/3.14.0...3.14.1

3.14.0

Get all of these and more with a quick `pip install --upgrade SpeechRecognition`.
Enjoy!

What's Changed
Features
* Support Faster Whisper by ftnext in https://github.com/Uberi/speech_recognition/pull/814

Improvements
* Refactor recognize_whisper() to support Whisper variants in future by ftnext in https://github.com/Uberi/speech_recognition/pull/813
* Remove `recognize_whisper_api` (Use `recognize_openai` instead) by ftnext in https://github.com/Uberi/speech_recognition/pull/815
* Make copyright year of license not need to update by ftnext in https://github.com/Uberi/speech_recognition/pull/818

**Full Changelog**: https://github.com/Uberi/speech_recognition/compare/3.13.0...3.14.0

3.13.0

Get all of these and more with a quick `pip install --upgrade SpeechRecognition`.
Enjoy!

What's Changed

Improvement (Google Cloud Speech-to-Text API)

* Adds Parameter `use_enhanced` and `model` to GoogleCloudSpeech (Fix 734) by HideyoshiNakazone in https://github.com/Uberi/speech_recognition/pull/735
* Refine google_cloud recognizer's parameters by ftnext in https://github.com/Uberi/speech_recognition/pull/812
* Introduce extra: `pip install SpeechRecognition[google-cloud]`
* Delegate to google-auth (Deprecate passing credentials JSON) by ftnext in https://github.com/Uberi/speech_recognition/pull/811
* Bugfixes
* Remove trailing space by ftnext in https://github.com/Uberi/speech_recognition/pull/810
* Correct API parameters from CamelCase to snake_case

misc

* Use pipx to lint simpler and faster by cclauss in https://github.com/Uberi/speech_recognition/pull/792
* Use pipx for lint and rstcheck by ftnext in https://github.com/Uberi/speech_recognition/pull/807

New Contributors
* HideyoshiNakazone made their first contribution in https://github.com/Uberi/speech_recognition/pull/735

**Full Changelog**: https://github.com/Uberi/speech_recognition/compare/3.12.0...3.13.0

3.12.0

Get all of these and more with a quick `pip install --upgrade SpeechRecognition`.
Enjoy!

What's Changed

New features

Groq Support

* `recognizer_instance.recognize_groq()` (ftnext in https://github.com/Uberi/speech_recognition/pull/797 & https://github.com/Uberi/speech_recognition/pull/803)
* Use with an environment variable `GROQ_API_KEY`
* Rename to `recognizer_instance.recognize_openai()` (Deprecate `recognizer_instance.recognize_whisper_api()`) (ftnext in https://github.com/Uberi/speech_recognition/pull/801)
* SpeechRecognition supports Whisper API served OpenAI and Groq
* Use with an environment variable `OPENAI_API_KEY`
* OpenAI's optional parameters partially supported (ftnext in https://github.com/Uberi/speech_recognition/pull/802, Idea from wronkiew https://github.com/Uberi/speech_recognition/pull/676)
* Decision: make the responsibility of checking environment variables each library (not SpeechRecognition) (ftnext in https://github.com/Uberi/speech_recognition/pull/804)
* `export XXX_API_KEY=...` or `os.environ["XXX_API_KEY"] = ...`

Python 3.13 Support (experimental)

* Install aifc and audioop in Python 3.13 by ftnext in https://github.com/Uberi/speech_recognition/pull/781
* Run tests on Python 3.13 (excluding whisper-local) by ftnext in https://github.com/Uberi/speech_recognition/pull/785

Improvement

Cleanup extras

* Tidy dependencies: requests by ftnext in https://github.com/Uberi/speech_recognition/pull/780
* Extract pocketsphinx extra by ftnext in https://github.com/Uberi/speech_recognition/pull/787

Others

* Install PyAudio in unittest Action by ftnext in https://github.com/Uberi/speech_recognition/pull/774
* Adopt pytest by ftnext in https://github.com/Uberi/speech_recognition/pull/779
* Fix "SetuptoolsDeprecationWarning: bdist_wheel.universal is deprecated" by ftnext in https://github.com/Uberi/speech_recognition/pull/773

**Full Changelog**: https://github.com/Uberi/speech_recognition/compare/3.11.0...3.12.0

3.11.0

Get all of these and more with a quick `pip install --upgrade SpeechRecognition`.
Enjoy!

What's Changed
New features
* Add `stream=` kwarg to `Recognizer.listen` by clusterfudge in https://github.com/Uberi/speech_recognition/pull/757

Improvements
* Support Python maintenance: Add 3.12, Drop 3.8 by ftnext in https://github.com/Uberi/speech_recognition/pull/770
* Remove deprecated distutils ftnext in https://github.com/Uberi/speech_recognition/pull/768 and https://github.com/Uberi/speech_recognition/pull/769
* Support `pip install SpeechRecognition[audio]`

New Contributors
* clusterfudge made their first contribution in https://github.com/Uberi/speech_recognition/pull/757

**Full Changelog**: https://github.com/Uberi/speech_recognition/compare/3.10.4...3.11.0

3.10.4

Get all of these and more with a quick `pip install --upgrade SpeechRecognition`.
Enjoy!

What's Changed
New features
* Support M1 Mac by ftnext in https://github.com/Uberi/speech_recognition/pull/745
* Enable to pass SSL endpoint to cope with WinError 10054 by ftnext in https://github.com/Uberi/speech_recognition/pull/754
* Thanks to Hexer-7 https://github.com/Uberi/speech_recognition/pull/751

Improvements
* Migrate from TravisCI by ftnext in https://github.com/Uberi/speech_recognition/pull/741 https://github.com/Uberi/speech_recognition/pull/742
* Fix code according to flake8
* Run unittests on Windows in CI by ftnext in https://github.com/Uberi/speech_recognition/pull/746

**Full Changelog**: https://github.com/Uberi/speech_recognition/compare/3.10.3...3.10.4

Page 1 of 6

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.