Menu

idngram2lm question

Help
skatz_teyp
2007-12-10
2012-09-22
  • skatz_teyp

    skatz_teyp - 2007-12-10

    umm.... if i were to make a trigram language model, should input an idngram file with trigrams only or can i also put unigrams and bigrams along with the trigrams to that idngram file? if so, is there a format or you just arrange them by unigrams then bigrams then trigrams?
    thx in advance...

     
    • Nickolay V. Shmyrev

      From my experience idngram file just contains trigrams either in ascii format or in binary. Each line has n ids and a number of occurences. Most programs working with idngram have -n argument to point n.

       

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.