you may have to create the temp directory
   ~/NLP/lm/v1.1/tmp
yourself before you run the script


On 12/07/2015 18:21, Hamed Soleimani wrote:
Hi,
Already it was working well but now every time i try it it gives me these:

~/irstlm/bin/build-lm.sh -i ~/NLP/lm/v1.1/mizan.final.sb.en -t ~/NLP/lm/v1.1/tmp -p -s improved-kneser-ney -o ~/NLP/lm/v1.1/mizan.final.lm.en
Temporary directory /home/hamed1soleimani/NLP/lm/v1.1/tmp does not exist
creating /home/hamed1soleimani/NLP/lm/v1.1/tmp
Extracting dictionary from training corpus
Splitting dictionary into 3 lists
Extracting n-gram statistics for each word list
Important: dictionary must be ordered according to order of appearance of words in data used to generate n-gram blocks, so that sub language model blocks results ordered too
Extracting n-gram statistics for dict.*
$bin/ngt -i="$inpfile" -n=$order -gooout=y -o="$gzip -c > $tmpdir/ngram.${sdict}.gz" -fd="$tmpdir/$sdict" $dictionary -iknstat="$tmpdir/ikn.stat.$sdict" >> $logfile 2>&1
Estimating language models for each word list
ls: cannot access /home/hamed1soleimani/NLP/lm/v1.1/tmp/dict.*: No such file or directory Merging language models into /home/hamed1soleimani/NLP/lm/v1.1/mizan.final.lm.en
Cleaning temporary directory /home/hamed1soleimani/NLP/lm/v1.1/tmp
Removing temporary directory /home/hamed1soleimani/NLP/lm/v1.1/tmp

Best Regards,
Hamed

--

Hamed Soleimani;
Member of Council; http://www.theinternetofthings.eu/hamed-soleimani
Researcher at AISP research lab at University of Isfahan
Instructor at Isfahan Mathematics House



_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

--
Hieu Hoang
Researcher
New York University, Abu Dhabi
http://www.hoang.co.uk/hieu

_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to