Menu

error with syntax text2idngram and text2wngram in cmu slm toolkit

Help
Askarya QS
2017-04-13
2017-04-15
  • Askarya QS

    Askarya QS - 2017-04-13

    hello, i have some trouble in cmu slm toolkit
    i've installed slm toolkit in my ubuntu, i got some trouble with syntax text2idngram and text2wngram
    before it im have doc.txt and compile it with syntax text2wfreq and wfreq2vocab perhaps its works, and then after it in text2idngram and text2wngram im have some trouble in my terminal like this

    Initialising hash table...
    Reading vocabulary...
    Allocating memory for the n-gram buffer...
    Reading text into the n-gram buffer...
    20,000 n-grams processed for each ".", 1,000,000 for each line.

    Sorting n-grams...
    Writing sorted n-grams to temporary file /usr/tmp/text2idngram.temp.aska.13364.1
    rr_fopen: problems opening /usr/tmp/text2idngram.temp.aska.13364.1 for "w".

    can you help me to fix it?
    many thanks
    Askarya

     
    • Nickolay V. Shmyrev

      Create folder /usr/tmp and make it writable for everybody.

       
  • Askarya QS

    Askarya QS - 2017-04-15

    thanks for helping, it works

     

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.