SpeechRecognition v3.5.0 Release Notes

Release Date: 2016-11-21 // over 5 years ago
    • ๐Ÿ‘Œ Support for the Houndify API with recognizer_instance.recognize_houndify (thanks @tb0hdan!).
    • ๐Ÿ‘ recognize_sphinx now supports keyword-based matching via the keywords=[("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.
      • 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.
    • 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.