{"id":14037074,"url":"https://github.com/realpython/python-speech-recognition","last_synced_at":"2025-03-31T11:01:32.288Z","repository":{"id":65908420,"uuid":"125435050","full_name":"realpython/python-speech-recognition","owner":"realpython","description":"Speech Recognition with Python examples","archived":false,"fork":false,"pushed_at":"2020-10-02T04:19:53.000Z","size":2289,"stargazers_count":246,"open_issues_count":7,"forks_count":185,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-03-22T22:55:07.020Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://realpython.com/python-speech-recognition/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/realpython.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-03-15T22:50:08.000Z","updated_at":"2025-03-05T19:02:25.000Z","dependencies_parsed_at":"2023-02-15T17:31:32.751Z","dependency_job_id":null,"html_url":"https://github.com/realpython/python-speech-recognition","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realpython%2Fpython-speech-recognition","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realpython%2Fpython-speech-recognition/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realpython%2Fpython-speech-recognition/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realpython%2Fpython-speech-recognition/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/realpython","download_url":"https://codeload.github.com/realpython/python-speech-recognition/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246457967,"owners_count":20780676,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-12T03:02:27.761Z","updated_at":"2025-03-31T11:01:32.256Z","avatar_url":"https://github.com/realpython.png","language":"Python","readme":"# Speech Recognition with Python\n\nThis repository contains resources from [The Ultimate Guide to Speech Recognition with Python](https://realpython.com/python-speech-recognition/) tutorial on Real Python.\n\nAudio files for the examples in the *Working With Audio Files* section of the post can be found in the `audio_files` directory. To download them, use the green \"Clone or download\" button at the top right corner of this page.\n\nThe `guessing_game.py` file contains the full source code for the \"Guess a Word\" game example.\n\n\u003e **NOTE**: You will need to install the [SpeechRecognition](https://github.com/Uberi/speech_recognition) and [PyAudio](https://people.csail.mit.edu/hubert/pyaudio/) packages in order to run the example. Please see the [tutorial](https://realpython.com/python-speech-recognition/) for step-by-step instructions.\n\nYou can test your SpeechRecognition and PyAudio installation by downloading `guessing_game.py` and typing the following into a Python REPL session:\n\n```pycon\n\u003e\u003e\u003e import speech_recognition as sr\n\u003e\u003e\u003e from guessing_game.py import recognize_speech_from_mic\n\u003e\u003e\u003e r = sr.Recognizer()\n\u003e\u003e\u003e m = sr.Microphone()\n\u003e\u003e\u003e recognize_speech_from_mic(r, m)  # speak after running this line\n{'success': True, 'error': None, 'transcription': 'hello'}\n```\n\nOf course, your output will vary depending on what you said after running `recognize_speech_from_mic(r, m)`.\n","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frealpython%2Fpython-speech-recognition","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frealpython%2Fpython-speech-recognition","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frealpython%2Fpython-speech-recognition/lists"}