Menu

CMUCLMTK empty .LM file

Help
alhaNas
2017-03-20
2017-03-20
  • alhaNas

    alhaNas - 2017-03-20

    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
    • Nickolay V. Shmyrev

      Use srilm.

       

Log in to post a comment.