Text Generator is an application which allows user to generate text in 66 different scripts. User can either upload the video file or can use their system's microphone to listen to the voice and generate the text. Most of the content on social media platforms like youtube, Facebook, etc. is in the English Language. So for us who are learning English, they can convert the audio into a script that is in their desired language and can learn how to pronounce. This code snippet can be added to any of the websites which are accessed by people across the globe. This can also help in generating caption for from the meetings, online lecture if the application does not provide a choice of the desired language.
For developing this application 2 external libraries are required: 1. speech_recognition 2. moviepy. speech_recognition from the name itself indicates that is heps to handle the voice and to generate script. recofnize_goole() is the core function of this application this function requires language as an argument in which the user will mention the language code for which the text will be generated. eg: for text in French use "fr-fr" code. moviepy package helps to convert the uploaded video file into audio .wav form which is then processed for text generation.
Python 3.7
speech_recognition
moviepy
ffmpeg