whether it is possible to create 1 gram lm using cmuclmtk? (like tidigits.flat_unigram.lm)
Yes, idngram2lm has "-n" option to specify n-gram order.
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
Hello
Which version are you talking about? I've just tried with snapshot and it works fine. Older version might have bugs.
Yes !! I updated ,now it is working in newer version.... Thanks....
Log in to post a comment.
whether it is possible to create 1 gram lm using cmuclmtk? (like
tidigits.flat_unigram.lm)
Yes, idngram2lm has "-n" option to specify n-gram order.
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
Hello
Which version are you talking about? I've just tried with snapshot and it
works fine. Older version might have bugs.
Yes !!
I updated ,now it is working in newer version....
Thanks....