Hi, I tryed to reproduce the scorer but I have issue with generate_lm.py .
Here it’s :
python3 generate_lm.py --input_txt librispeech-lm-norm.txt.gz --output_dir . \
> --top_k 500000 --kenlm_bins /home/nathan/Téléchargements/kenlm/build/bin/ \
> --arpa_order 5 --max_arpa_memory "85%" --arpa_prune "0|0|1" \
> --binary_a_bits 255 --binary_q_bits 8 --binary_type trie
Converting to lowercase and counting word occurrences ...
Traceback (most recent call last):
File "generate_lm.py", line 210, in <module>
main()
File "generate_lm.py", line 200, in main
data_lower, vocab_str = convert_and_filter_topk(args)
File "generate_lm.py", line 31, in convert_and_filter_topk
for line in progressbar.progressbar(file_in):
TypeError: 'module' object is not callable
I have python 3.7.3
If you could help me !