Urdu Audio Miner is web based application to search for words or phrases in Urdu audio files. Searching for phrases in a few audio files might be easy but if we have to search in many audio files, this easy task can turn into a tiring and time consuming work. Automating this task will be of great he
Urdu Audio Miner
Urdu Audio Miner is web based application to search for words or phrases in Urdu audio files. Searching for phrases in a few audio files might be easy but if we have to search in many audio files, this easy task can turn into a tiring and time consuming work. Automating this task will be of great help and we have tried to do this through our application. In our application, the user can upload audio files or provide a YouTube video link through which he wants to search. Then he can specify what word or phrase he wants to search in three different ways. By recording the word through a microphone, uploading an audio clip containing the word, or typing it in roman Urdu. Once the program has finished searching, it will display the text along with time stamps where a match was found. The user is also able to play the audio file from that location.
Apart from searching, other feature of Urdu Audio Miner includes detecting the use of offensive language in audio files. When a user has uploaded audio files, he can check if audio files contain abusive or offensive words, and play the audio.
Nowadays most of the apps are incorporating speech to text features. Our application also has a transcription feature. With real-time decoding, user can see the results as the audio file is processed. Once the transcription is completed the user can download it in text format.
As for all data science projects, we started with data collection. We collected around 115+ hours of Urdu audio files along with their transcriptions to train our automatic speech recognition model. Mostly our dataset included read speech. We also collected some data from YouTube videos as well. Then we clean the data which included correcting wrong pronounced words, replacing Arabic Unicode letters not used in Urdu etc. Using Kaldi framework for speech recognition we trained an HMM GMM based model. Using PronouncUR we generated lexicons for unique words in our corpus and also collected additional data for the language model. After formatting data according to Kaldi requirements, we trained monophone, triphone (tri1, tri2, tri3), and SGMM2 models.
For offensive language detection, we used an already available dataset and added additional data from offensive tweets. We trained our model on Naïve Bayes and Logistic Regression algorithms for this task. Different tools and libraries like Google Colab, NLTK, UrduHack, and Scikit-learn were used in preprocessing datasets and training the model.
Without a good user interface, even good programs can become difficult to use. For the backend of our web application, we used Flask along with other libraries such as PyAudio, and Deep Translate. For the front end, we used HTML, CSS, Bootstrap, and Javascript (Vanilla JS, Recorder JS, Wavesurfer JS).
As for all data science projects, we started with data collection. We collected around 115+ hours of Urdu audio files along with their transcriptions to train our automatic speech recognition model. Mostly our dataset included read speech. We also collected some data from YouTube videos as well. Then we clean the data which included correcting wrong pronounced words, replacing Arabic Unicode letters not used in Urdu etc. Using Kaldi framework for speech recognition we trained an HMM GMM based model. Using PronouncUR we generated lexicons for unique words in our corpus and also collected additional data for the language model. After formatting data according to Kaldi requirements, we trained monophone, triphone (tri1, tri2, tri3), and SGMM2 models.
For offensive language detection, we used an already available dataset and added additional data from offensive tweets. We trained our model on Naïve Bayes and Logistic Regression algorithms for this task. Different tools and libraries like Google Colab, NLTK, UrduHack, and Scikit-learn were used in preprocessing datasets and training the model.
Without a good user interface, even good programs can become difficult to use. For the backend of our web application, we used Flask along with other libraries such as PyAudio, and Deep Translate. For the front end, we used HTML, CSS, Bootstrap, and Javascript (Vanilla JS, Recorder JS, Wavesurfer JS).
| Item Name | Type | No. of Units | Per Unit Cost (in Rs) | Total (in Rs) |
|---|---|---|---|---|
| Stationary | Miscellaneous | 6 | 100 | 600 |
| Total in (Rs) | 600 |
We live in a digital age in which new technologies emerge every day, and as a result, it o...
The Distribution Transformers are important links in the chain of power distribution syste...
As the name suggests, frequency modulated continuous wave (FMCW) radar is a technique for...
The gym instructor is essential to achieve our specific fitness goals but it is not possib...