SpeechRecognition v3.5.0 Release Notes
Release Date: 2016-11-21 // over 7 years ago-
- ๐ Support for the Houndify API with
recognizer_instance.recognize_houndify
(thanks @tb0hdan!). - ๐
recognize_sphinx
now supports keyword-based matching via thekeywords=[("cat", 30), ("potato", 45)]
parameter.- The second number in each pair is the sensitivity, which determines how loosely Sphinx will interpret speech to be those keywords - higher numbers mean more false positives, while lower numbers mean a lower detection rate.
- A new example for keyword matching is now available.
- ๐ฅ BREAKING CHANGE: API.AI STT API IS BEING SHUT DOWN SOON. (source)
- For now, the
recognize_api
function will keep working if you're on a paid API.AI plan, and we will not be removing it until the service is shut down entirely. - It is best to transition to another backend as soon as possible. I recommend Microsoft Bing Voice Recognition or Wit.ai for previous API.AI users.
- For now, the
phrase_time_limit
option for listening functions, to limit phrase lengths to a certain number of seconds.- Support for operation timeouts with
recognizer_instance.operation_timeout
- this can be used to ensure long requests always take finite time. - 0๏ธโฃ
recognize_ibm
now opts out of request logging by default, for improved user privacy (thanks @michellemorales!). This is a breaking change if you previously relied on request logging behaviour. - ๐ Bugfix -
listen()
sometimes didn't terminate on finite-length streams. - ๐ Bugfix - Microsoft Bing Voice Recognition changed their authentication API endpoint, so that required some small code updates (thanks @tmator!).
- ๐ Bugfix - 24-bit audio now works correctly on Python 2.
- โก๏ธ Update Wit.ai API version from deprecated version.
- ๐ A bunch of documentation updates, fixes, and improvements.
- ๐ Support for the Houndify API with