{"id":18020707,"url":"https://github.com/inforkgodara/python-speech-to-text","last_synced_at":"2025-07-30T19:04:18.950Z","repository":{"id":110250175,"uuid":"289685934","full_name":"inforkgodara/python-speech-to-text","owner":"inforkgodara","description":"A few lines of code which convert speech to text.","archived":false,"fork":false,"pushed_at":"2020-08-23T12:56:00.000Z","size":0,"stargazers_count":1,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-10T02:38:47.751Z","etag":null,"topics":["inforkgodara","pyaudio","python","python-script","python-speech","python-speech-to-text","speech-recognition","speech-to-text","speech-to-text-script","speechtotext"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/inforkgodara.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-08-23T12:55:20.000Z","updated_at":"2023-08-27T04:53:37.000Z","dependencies_parsed_at":"2023-04-04T01:32:02.091Z","dependency_job_id":null,"html_url":"https://github.com/inforkgodara/python-speech-to-text","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/inforkgodara%2Fpython-speech-to-text","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inforkgodara%2Fpython-speech-to-text/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inforkgodara%2Fpython-speech-to-text/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inforkgodara%2Fpython-speech-to-text/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/inforkgodara","download_url":"https://codeload.github.com/inforkgodara/python-speech-to-text/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247217220,"owners_count":20903009,"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":["inforkgodara","pyaudio","python","python-script","python-speech","python-speech-to-text","speech-recognition","speech-to-text","speech-to-text-script","speechtotext"],"created_at":"2024-10-30T06:07:23.351Z","updated_at":"2025-04-04T17:16:44.704Z","avatar_url":"https://github.com/inforkgodara.png","language":"Python","readme":"# Python Speech To Text\n\nA few lines of code written in python using libraries (SpeechRecognition, PyAudio) that convert speech to text. \n\n## Prerequisites\n\nIn order to run the python script, your system must have the following programs/packages installed.\n* Python 3.6.7\n* SpeechRecognition 3.8.1 (Internet required to convert speech to text while execution)\n* PyAudio\n\n## Approach\n* script.py execute in terminal.\n* After a printed start in the terminal, you begin to speak in English and end once your sentence is completed. \n* It will take a few minutes to convert speech to text and print on your terminal.\n\n\n## Code\n```\n# Program to convert speech to text\n# Author @inforkgodara\n\nimport speech_recognition as sr\nr = sr.Recognizer()\n\nmic = sr.Microphone()\n\nprint('start')\nwith mic as source:\n    audio = r.listen(source)\nprint('end')\nprint(r.recognize_google(audio))\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finforkgodara%2Fpython-speech-to-text","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finforkgodara%2Fpython-speech-to-text","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finforkgodara%2Fpython-speech-to-text/lists"}