{"id":24437351,"url":"https://github.com/vikrant48/language__detection","last_synced_at":"2026-04-21T21:32:56.873Z","repository":{"id":240752836,"uuid":"801331129","full_name":"vikrant48/Language__Detection","owner":"vikrant48","description":"Language detection from audio file or text file ","archived":false,"fork":false,"pushed_at":"2024-07-05T16:45:22.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-02T00:27:35.412Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","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/vikrant48.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-05-16T03:01:03.000Z","updated_at":"2024-07-24T12:35:15.000Z","dependencies_parsed_at":"2024-05-20T19:32:09.899Z","dependency_job_id":"40f2daf9-1d0d-4c41-81f6-f043900755c1","html_url":"https://github.com/vikrant48/Language__Detection","commit_stats":null,"previous_names":["vikrant48/language__detection"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vikrant48/Language__Detection","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vikrant48%2FLanguage__Detection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vikrant48%2FLanguage__Detection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vikrant48%2FLanguage__Detection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vikrant48%2FLanguage__Detection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vikrant48","download_url":"https://codeload.github.com/vikrant48/Language__Detection/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vikrant48%2FLanguage__Detection/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32110960,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-21T11:25:29.218Z","status":"ssl_error","status_checked_at":"2026-04-21T11:25:28.499Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2025-01-20T18:16:10.050Z","updated_at":"2026-04-21T21:32:56.844Z","avatar_url":"https://github.com/vikrant48.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Audio Language Detection\n## Overview\nThis project provides a Python script for detecting the language of spoken words in an audio file or through microphone input. It utilizes the speech_recognition, langdetect, and googletrans libraries for recognizing speech, detecting language, and translating text.\n\n## Requirements\nPython 3.x\\\nspeech_recognition\\\nlangdetect\\\ngoogletrans\\\n\nYou can install the required libraries using pip:\n\n```bash\npip install SpeechRecognition langdetect googletrans==4.0.0-rc1\n```\n\n## uses\n### detect_language_from_audio(audio_file)\nThis function detects the language of spoken words from an audio file or microphone input.\\\nParameters\\\naudio_file (str): Path to the audio file. If an empty string is provided, the script will use the microphone for input.\\\nReturns\\\nlanguage (str): Detected language code (e.g., 'en' for English, 'fr' for French).\n\n### translate_to_oriLanguage(text)\nThis helper function translates the input text to its original language.\\\n\nParameters\\\ntext (str): Text to be translated.\\\nReturns\\\ntranslated.text (str): Translated text.\n\n## Notes\nEnsure your internet connection is stable as the speech recognition and translation functionalities require online services.\\\nHandle exceptions properly to avoid unexpected crashes.\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvikrant48%2Flanguage__detection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvikrant48%2Flanguage__detection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvikrant48%2Flanguage__detection/lists"}