Skip to content

Commit d8ccc0e

Browse files
committed
Add install lm
1 parent 748134b commit d8ccc0e

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

README.md

+8
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,14 @@ Model homepage: https://huggingface.co/airesearch/wav2vec2-large-xlsr-53-th
1818
pip install pythaiasr
1919
```
2020

21+
**For Wav2Vec2 with language model:**
22+
if you want to use wannaphong/wav2vec2-large-xlsr-53-th-cv8-* model, you needs to install by the step.
23+
24+
```sh
25+
pip install pythaiasr[lm]
26+
pip install https://github.com/kpu/kenlm/archive/refs/heads/master.zip
27+
```
28+
2129
## Usage
2230

2331
```python

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def read(*paths):
2020
extras = {
2121
"lm":[
2222
"pyctcdecode>=0.4.0",
23-
"kenlm @ https://github.com/kpu/kenlm/archive/refs/heads/master.zip"
23+
# "kenlm @ https://github.com/kpu/kenlm/archive/refs/heads/master.zip"
2424
]
2525
}
2626

0 commit comments

Comments
 (0)