Closed asadullah73-ce closed 3 years ago
You can find example here https://github.com/igorsitdikov/lid_kaldi/blob/master/python/example/test_simple.py
Where to get lid-model in the example. I am getting this error in the example: from lid import Model, KaldiRecognizer ModuleNotFoundError: No module named 'lid'
Hi! Thx @igorsitdikov for your work! I have related question.
I installed whl
on my PC. But when I try to run example, I got an error
ERROR ([5.5.873~1-75ec]:ReadConfigFile():parse-options.cc:462) Cannot open config file: lid-model/mfcc.conf
I suppose I need to get somewhere lid-model
folder. Where I can get it?
@asadullah73-ce install whl file for your platform from releases page.
For example
pip install https://github.com/igorsitdikov/lid_kaldi/releases/download/1.0.1/lid-1.0.1-py3-none-manylinux2010_x86_64.whl
Ok, I figured out with my problem. I was misled because actual model was in version https://github.com/igorsitdikov/lid_kaldi/releases/tag/1.0.0 and actual whl in https://github.com/igorsitdikov/lid_kaldi/releases/tag/1.0.1
@s-chizhik , @asadullah73-ce updated release 1.0.1, added archive with the lid-model. https://github.com/igorsitdikov/lid_kaldi/releases/download/1.0.1/lid-model.tar.xz
@igorsitdikov thx a lot!
One more question please. Does this detect other languages e.g Hindi or Urdu or Arabic?
Okay, I was able to detect Urdu language from the code.
How to use lid_kaldi for language identification?