This is a simple python code to convert an audio file and print its contents as text using the python
SpeechRecognition module. The user need to input the location of the audio file that needs to be converted into text,
and the audio is converted into text and printed as output.
Before beginning with the code make sure you have python installed on your system. If not, head to python.org
to download and install it.
Make sure to check the add python to PATH
button during installation.
After installing python open command prompt and type pip install SpeechRecognition
. This command will install the required module.
Note1: be sure to input the perfect directory/location of the audio file to be converted into text.
Note2: the audio file must be in .wav format.
I have also included the audio file that I converted into text. Feel free to use it for testing.
-
Notifications
You must be signed in to change notification settings - Fork 0
Ankit161001/Speech_To_Text_Python
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
This is a simple python code to convert an audio file and print its contents as text using the python SpeechRecognition module.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published