This project hasn't been updated in a long time, so it no longer appears on the homepage, categories, or search results — the data is preserved and this page still works normally.
Back to Trending
RepositoryPythonVNVietnam
nguyennpa412

nguyennpa412/vietnamese-speech-to-text-wavenet

Vietnamese speech recognition using Wavenet

72stars
36forks
0issues
1views

Vietnamese Speech to Text - Wavenet

Python 2.7

Dependencies:

  • Flask==0.12.2
  • gunicorn==19.7.1
  • librosa==0.5.0
  • numpy==1.14.2
  • pylint==1.8.4
  • scikit-learn==0.19.1
  • scipy==1.0.1
  • six==1.11.0
  • sugartensor==1.0.0.2
  • tensorflow==1.0.0
  • Werkzeug==0.14.1
  • Scrapy==1.5.0

Data processing:

  1. Data sources:
  2. Processed data:
  3. Scripts:
    • gather_data.py: Gathering all data from above sets then rearranging and preprocessing them. After gathering, data will be stored in /data processing/asset/data/FINAL_DATA folder.
    • preprocess.py: Preprocessing gathered data to get mfcc features. After preprocessing, preprocessed data will be stored in /data processing/asset/data/preprocess folder.
  4. Preprocessing:
    • Run this to gather data and preprocess them (You might need to modify codes):
      /data processing$ python gather_data.py
      
    • Or run this if you've already have the FINAL_DATA to preprocess them:
      /data processing$ python preprocess.py
      

Training:

  1. Architecture: Architecture
  2. Training:
    • Put preprocess (preprocessed data) folder in /training/asset/data.
    • You can modify codes in train.py and model.py to run in your case.
    • Before training, remember to adjust the max_ep (max epoch) parameter in train.py (default learning rate is 0.001, you can modify learning rate by the lr parameter in train.py).
    • Run this to begin training (trained models will be stored in /training/asset/train):
      /training$ python train.py
      
    • Run this to test your latest model with the preprocessed test set (this will create a loss.csv file to store testing loss information and store the best model in the best_model folder):
      /training$ python test.py
      

Language Model:

  1. Data source: VnExpress
  2. Categories: Thời sự, Góc nhìn, Thế giới, Kinh doanh, Giải trí, Thể thao, Pháp luật, Giáo dục, Sức khỏe, Gia đình, Du lịch, Khoa học, Số hóa, Xe, Cộng đồng, Tâm sự.
  3. Number of articles: 198,139
  4. Number of different words: 147,378
  5. Total number of words: 77,907,100
  6. Top 10 common words: Top 10 common words
  7. Running crawler:
    • You might need to modify codes in vnexpress_spider.py to run in your case.
    • Run this to crawl from listed categories above (500 pages each category, 100 pages for Góc nhìn), this will return a txt file and a csv file in /language model/crawlers/vnexpress_crawler:
      /language model/crawlers/vnexpress_crawler$ scrapy crawl --nolog vnexpress_spider -o vnexpress.csv -t csv
      
  8. Correcting spell:
    • Put this VnExpress data into /language model folder to test the precrawled data with correct_spell.py.
    • You might need to modify codes in correct_spell.py to test the language model.

Web App:

  1. Trained Model:
    • Epoch: 20
    • Step: 59283
    • Training loss: 11.84
    • Testing loss: 19.09
  2. Running Web App:
    • Put this VnExpress data into /web app folder to run the Web App.
    • Run this to open the Web App on your localhost, you can test our model there:
      /web app$ FLASK_APP=app.py flask run
      
  3. Heroku Web App:

Future Works:

  • Language Model: Upgrading from single word to compound word.
  • Model libraries: Upgrading to fit with newer version of libraries.
  • Model Architecture: Modifying the model architecture to get better result.

References:

  1. Speech-to-Text-WaveNet : End-to-end sentence level English speech recognition using DeepMind's WaveNet
  2. WaveNet: A Generative Model for Raw Audio

Citation:

Kim and Park. Speech-to-Text-WaveNet. 2016. GitHub repository. https://github.com/buriburisuri/.

Similar Projects

Discover other similar projects and AI models.

RepositoryPython
speechbrain/speechbrain

A PyTorch-based Speech Toolkit

11.9k
Oct 14, 2026
RepositoryC++
ggml-org/whisper.cpp

Port of OpenAI's Whisper model in C/C++

54.6k
Oct 19, 2026
RepositoryC++
ggml-org/whisper.cpp

Port of OpenAI's Whisper model in C/C++

54.6k
Oct 19, 2026
RepositoryRust
cjpais/Handy

A free, open source, and extensible speech-to-text application that works completely offline.

34.8k
Oct 26, 2026
RepositoryPython
Asabeneh/30-Days-Of-Python

The 30 Days of Python programming challenge is a step-by-step guide to learn the Python programming language in 30 days. This challenge may take more than 100 days. Follow your own pace. These videos may help too: https://www.youtube.com/channel/UC7PNRuno1rzYPb1xLa4yktw

77.2k
Sep 30, 2026
RepositoryPython
pallets/flask

The Python micro framework for building web applications.

75.1k
Oct 7, 2026
RepositoryPython
SYSTRAN/faster-whisper

Faster Whisper transcription with CTranslate2

26.2k
Oct 25, 2026
RepositoryPython
m-bain/whisperX

WhisperX: Automatic Speech Recognition with Word-level Timestamps (& Diarization)

24.9k
Oct 22, 2026
RepositoryPython
plotly/dash

Data Apps & Dashboards for Python. No JavaScript Required.

24.5k
Oct 21, 2026