diff --git a/README.md b/README.md index 971bf99..9d4f15a 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,14 @@ Model homepage: https://huggingface.co/airesearch/wav2vec2-large-xlsr-53-th pip install pythaiasr ``` +**For Wav2Vec2 with language model:** +if you want to use wannaphong/wav2vec2-large-xlsr-53-th-cv8-* model, you needs to install by the step. + +```sh +pip install pythaiasr[lm] +pip install https://github.com/kpu/kenlm/archive/refs/heads/master.zip +``` + ## Usage ```python diff --git a/setup.py b/setup.py index af96703..d8fb2d3 100644 --- a/setup.py +++ b/setup.py @@ -20,7 +20,7 @@ def read(*paths): extras = { "lm":[ "pyctcdecode>=0.4.0", - "kenlm @ https://github.com/kpu/kenlm/archive/refs/heads/master.zip" + # "kenlm @ https://github.com/kpu/kenlm/archive/refs/heads/master.zip" ] }