I'm following this article: https://huggingface.co/blog/wav2vec2-with-ngram
and I'm running the following command:
kenlm/build/bin/lmplz -o 5 <"text.txt" > "5gram.arpa"
And I'm getting error:
----5---10---15---20---25---30---35---40---45---50---55---60---65---70---75---80---85---90---95--100 *******************************Segmentation fault
I read here: https://github.com/kpu/kenlm/issues/272
That I need to update boost library , how can I do it ?
(I'm running on Ubuntu 20.04)