zhangxincheng / lid_kaldi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spoken Language Recognition based on Kaldi

Linux installation

  1. Use pip to install corresponding to your platform whl package from https://github.com/igorsitdikov/lid_kaldi/releases

Example:

pip3 install https://github.com/igorsitdikov/lid_kaldi/releases/download/1.0.1/lid-1.0.1-py3-none-linux_x86_64.whl
  1. Download lid-model.tar.xz model from https://github.com/igorsitdikov/lid_kaldi/releases and unpack to your project folder
wget https://github.com/igorsitdikov/lid_kaldi/releases/download/1.0.1/lid-model.tar.xz
tar -xvf lid-model.tar.xz
  1. Run example script (not required)
wget https://github.com/igorsitdikov/lid_kaldi/raw/master/python/example/test_simple.py
wget https://github.com/igorsitdikov/lid_kaldi/raw/master/python/example/test_ru.wav
python3 test_simple.py test_ru.wav

About

License:Apache License 2.0


Languages

Language:C++ 66.1%Language:Java 9.8%Language:Shell 6.7%Language:Python 6.6%Language:Makefile 6.1%Language:C 2.6%Language:Roff 2.1%