flashlight / wav2letter

Facebook AI Research's Automatic Speech Recognition Toolkit
https://github.com/facebookresearch/wav2letter/wiki
Other
6.35k stars 1.02k forks source link

incorrect sys.argv index at wav2letter/recipes/sota/2019/lm_corpus_and_PL_generation/generate_uniq.py #988

Closed Splend1d closed 2 years ago

Splend1d commented 2 years ago

Bug Description

the sys.argv index of wav2letter/recipes/sota/2019/lm_corpus_and_PL_generation/generate_uniq.py, line10 is incorrect. Following the readme, this leads to out of index error

Reproduction Steps

follow the readme in recipes/sota/2019/lm_corpus_and_PL_generation, the error occurs when executing python3 generate_uniq.py librispeech_lm_corpus_raw_without_librivox.txt.norm

tlikhomanenko commented 2 years ago

PR https://github.com/flashlight/wav2letter/pull/989