I am using a mac computer.
I created a 100 mb .txt file and followed the CMU tutorial by creating the vocab file successfully and then the .idngram then when using this command to create the .lm file: "idngram2lm -vocab_type 1 -idngram Food.idngram -vocab \ Food.vocab -arpa Food.lm
i get this message: "Reading vocabulary. rr_iopen: None of ' Food.vocab' ' Food.vocab.Z' or ' Food.vocab.gz' exist."
all the files (i.e Food.vocab,Food.idngram and Food.lm)are in the same directory but somehow the .vocab was not recognized after this command.
Note, I do not have Food.vocab.Z or Food.vocab.gz
the food.lm is placed in the directory as an empty file..what did I do wrong?
Last edit: alhaNas 2017-03-20
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am using a mac computer.
I created a 100 mb .txt file and followed the CMU tutorial by creating the vocab file successfully and then the .idngram then when using this command to create the .lm file: "idngram2lm -vocab_type 1 -idngram Food.idngram -vocab \ Food.vocab -arpa Food.lm
i get this message: "Reading vocabulary. rr_iopen: None of ' Food.vocab' ' Food.vocab.Z' or ' Food.vocab.gz' exist."
all the files (i.e Food.vocab,Food.idngram and Food.lm)are in the same directory but somehow the .vocab was not recognized after this command.
Note, I do not have Food.vocab.Z or Food.vocab.gz
the food.lm is placed in the directory as an empty file..what did I do wrong?
Last edit: alhaNas 2017-03-20
Use srilm.