You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After i run the command :bzcat bible.en.txt.bz2 | python preprocess.py | ./kenlm/bin/lmplz -o 3 > bible.arpa,
ERROR:bash: ./kenlm/bin/lmplz: No such file or directory
Traceback (most recent call last):
File "preprocess.py", line 6, in
print(' '.join(nltk.word_tokenize(sentence)).lower())
BrokenPipeError: [Errno 32] Broken pipe.
The text was updated successfully, but these errors were encountered:
Hi!
I had the same problem (I think it was because the lmplz folder was not created), but I think I found a solution: The link in the instructions to clone the repo does not lead to the latest repository; it should work if you use this one instead: https://github.com/kpu/kenlm and follow the instructions for compiling. (Everything is then stored in the /build folder, so you have to adjust some paths in the commands in the instructions here on this tutorial.) Hope that helps!
After i run the command :bzcat bible.en.txt.bz2 | python preprocess.py | ./kenlm/bin/lmplz -o 3 > bible.arpa,
ERROR:bash: ./kenlm/bin/lmplz: No such file or directory
Traceback (most recent call last):
File "preprocess.py", line 6, in
print(' '.join(nltk.word_tokenize(sentence)).lower())
BrokenPipeError: [Errno 32] Broken pipe.
The text was updated successfully, but these errors were encountered: