Menu

cmuclmtk

Help
2010-09-23
2012-09-22
  • Madhav Kishore

    Madhav Kishore - 2010-09-23

    whether it is possible to create 1 gram lm using cmuclmtk? (like
    tidigits.flat_unigram.lm)

     
  • Nickolay V. Shmyrev

    Yes, idngram2lm has "-n" option to specify n-gram order.

     
  • Madhav Kishore

    Madhav Kishore - 2010-09-24

    but when i use the following command ,

    ./text2idngram -vocab sss_vocab.txt -write_ascii < sss.txt > sss_idngram.txt
    -n 1
    ./idngram2lm -idngram sss_idngram.txt -vocab sss_vocab.txt -arpa
    sss.idngram2lm.txt -ascii_input -n 1

    I get following error,
    ERROR: sum = 1.2702702703

     
  • Nickolay V. Shmyrev

    Hello

    Which version are you talking about? I've just tried with snapshot and it
    works fine. Older version might have bugs.

     
  • Madhav Kishore

    Madhav Kishore - 2010-09-27

    Yes !!
    I updated ,now it is working in newer version....
    Thanks....

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.