Hi,
I think you need to reinstall SRILM. Check whether the SRILM test 
results are ok. If not, you might have to change the LC_ALL variable 
within the shell. See the SRILM install guide for more information.

The moses installation with option --with-srilm just tells moses where 
to find SRILM. If SRILM isn't installed correctly errors are likely to 
occur.

Best,
Christine

laxmi khatiwada schrieb:
> Hello Mosesions,
> This is Laxmi Prasad Khatiwada from Nepal.
> I am using Ubuntu 8.4 system in my laptop.
>
>
> Build Language Model
>
> I was trying to test En>Fr language pair for temporary testing purpose. I did 
> this things step by steps.
>
>
> I installed moses, srilm, irstlm, giza-pp. All things run smoothly. But when 
> I tried to run 
> tools/srilm/bin/i686/ngram-count -order 3 -interpolate -kndiscount -unk -text 
> work/lm/news-commentary.lowercased.en -lm work/lm/news-commentary.lm
>
> there seemed a problem. there is not ngram-count(executable file)
>
> while checking for ngram-count in home/laxmi/tools/srilm/bin/i686 .... I was 
> unable to find such file.
>
> Is there any alternative file for this or not ???
> or is this a compilation problem while compiling srilm???
> what can be the problem.... ?
>
>
>
>
>
> The file seems this
>
> r...@laxmi-laptop:/home/laxmi/tools/srilm/bin/i686# ls
> add-classes-to-pfsg              context-ngrams                   
> make-google-ngrams        pfsg-to-dot                       sort-lm
> add-classes-to-pfsg.~7474        context-ngrams.~7656             
> make-google-ngrams.~7824  pfsg-to-dot.~8035                 sort-lm.~7951
> add-dummy-bows                   continuous-ngram-count           
> make-gt-discounts         pfsg-to-fsm                       
> split-tagged-ngrams
> add-dummy-bows.~7488             continuous-ngram-count.~7670     
> make-gt-discounts.~7838   pfsg-to-fsm.~8049                 
> split-tagged-ngrams.~8189
> add-pauses-to-pfsg               extract-skip-probs               
> make-hiddens-lm           pfsg-vocab                        
> subset-context-ngrams
> add-pauses-to-pfsg.~7502         extract-skip-probs.~7684         
> make-hiddens-lm.~7880     pfsg-vocab.~8063                  
> subset-context-ngrams.~8203
> add-ppls                         find-reference-posteriors        
> make-kn-counts            ppl-from-log                      subtract-ppls
> add-ppls.~7516                   find-reference-posteriors.~7698  
> make-kn-counts.~7866      ppl-from-log.~8091                
> subtract-ppls.~8217
> bytelog-to-log10                 fix-ctm                          
> make-kn-discounts         prettify                          
> tolower-ngram-counts
> bytelog-to-log10.~7530           fix-ctm.~7712                    
> make-kn-discounts.~7852   prettify.~8343                    
> tolower-ngram-counts.~8231
> classes-to-fsm                   fsm-to-pfsg                      
> make-lm-subset            remove-lowprob-ngrams             uniform-classes
> classes-to-fsm.~7544             fsm-to-pfsg.~7726                
> make-lm-subset.~7894      remove-lowprob-ngrams.~8105       
> uniform-classes.~8245
> combine-acoustic-scores          get-gt-counts                    
> make-nbest-pfsg           replace-words-with-classes        uniq-ngram-counts
> combine-acoustic-scores.~7558    get-gt-counts.~7740              
> make-nbest-pfsg.~7908     replace-words-with-classes.~8119  
> uniq-ngram-counts.~8259
> combine-rover-controls           get-unigram-probs                
> make-ngram-pfsg           reverse-lm                        vp2text
> combine-rover-controls.~7572     get-unigram-probs.~7754          
> make-ngram-pfsg.~7922     reverse-lm.~7965                  vp2text.~8273
> compare-ppls                     hits-from-log                    make-sub-lm 
>               reverse-ngram-counts              wlat-stats
> compare-ppls.~7586               hits-from-log.~7768              
> make-sub-lm.~7937         reverse-ngram-counts.~8147        wlat-stats.~8315
> compute-best-mix                 htklat-vocab                     merge-nbest 
>               reverse-text                      wlat-to-dot
> compute-best-mix.~7600           htklat-vocab.~8077               
> merge-nbest.~7979         reverse-text.~8133                wlat-to-dot.~8287
> compute-best-rover-mix           log10-to-bytelog                 
> nbest2-to-nbest1          select-vocab                      wlat-to-pfsg
> compute-best-rover-mix.~7614     log10-to-bytelog.~7782           
> nbest2-to-nbest1.~8007    select-vocab.~8357                wlat-to-pfsg.~8301
> compute-best-sentence-mix        make-abs-discount                
> nbest-posteriors          sentid-to-ctm                     wordlat-to-lisp
> compute-best-sentence-mix.~7628  make-abs-discount.~7796          
> nbest-posteriors.~7993    sentid-to-ctm.~8175               
> wordlat-to-lisp.~8329
> compute-oov-rate                 make-diacritic-map               nbest-vocab 
>               sentid-to-sclite
> compute-oov-rate.~7642           make-diacritic-map.~7810         
> nbest-vocab.~8021         sentid-to-sclite.~8161
> r...@laxmi-laptop:/home/laxmi/tools/srilm/bin/i686# gedit &
> r...@laxmi-laptop:/home/laxmi/tools/srilm/bin/i686# ls
> add-classes-to-pfsg              context-ngrams                   
> make-google-ngrams        pfsg-to-dot                       sort-lm
> add-classes-to-pfsg.~7474        context-ngrams.~7656             
> make-google-ngrams.~7824  pfsg-to-dot.~8035                 sort-lm.~7951
> add-dummy-bows                   continuous-ngram-count           
> make-gt-discounts         pfsg-to-fsm                       
> split-tagged-ngrams
> add-dummy-bows.~7488             continuous-ngram-count.~7670     
> make-gt-discounts.~7838   pfsg-to-fsm.~8049                 
> split-tagged-ngrams.~8189
> add-pauses-to-pfsg               extract-skip-probs               
> make-hiddens-lm           pfsg-vocab                        
> subset-context-ngrams
> add-pauses-to-pfsg.~7502         extract-skip-probs.~7684         
> make-hiddens-lm.~7880     pfsg-vocab.~8063                  
> subset-context-ngrams.~8203
> add-ppls                         find-reference-posteriors        
> make-kn-counts            ppl-from-log                      subtract-ppls
> add-ppls.~7516                   find-reference-posteriors.~7698  
> make-kn-counts.~7866      ppl-from-log.~8091                
> subtract-ppls.~8217
> bytelog-to-log10                 fix-ctm                          
> make-kn-discounts         prettify                          
> tolower-ngram-counts
> bytelog-to-log10.~7530           fix-ctm.~7712                    
> make-kn-discounts.~7852   prettify.~8343                    
> tolower-ngram-counts.~8231
> classes-to-fsm                   fsm-to-pfsg                      
> make-lm-subset            remove-lowprob-ngrams             uniform-classes
> classes-to-fsm.~7544             fsm-to-pfsg.~7726                
> make-lm-subset.~7894      remove-lowprob-ngrams.~8105       
> uniform-classes.~8245
> combine-acoustic-scores          get-gt-counts                    
> make-nbest-pfsg           replace-words-with-classes        uniq-ngram-counts
> combine-acoustic-scores.~7558    get-gt-counts.~7740              
> make-nbest-pfsg.~7908     replace-words-with-classes.~8119  
> uniq-ngram-counts.~8259
> combine-rover-controls           get-unigram-probs                
> make-ngram-pfsg           reverse-lm                        vp2text
> combine-rover-controls.~7572     get-unigram-probs.~7754          
> make-ngram-pfsg.~7922     reverse-lm.~7965                  vp2text.~8273
> compare-ppls                     hits-from-log                    make-sub-lm 
>               reverse-ngram-counts              wlat-stats
> compare-ppls.~7586               hits-from-log.~7768              
> make-sub-lm.~7937         reverse-ngram-counts.~8147        wlat-stats.~8315
> compute-best-mix                 htklat-vocab                     merge-nbest 
>               reverse-text                      wlat-to-dot
> compute-best-mix.~7600           htklat-vocab.~8077               
> merge-nbest.~7979         reverse-text.~8133                wlat-to-dot.~8287
> compute-best-rover-mix           log10-to-bytelog                 
> nbest2-to-nbest1          select-vocab                      wlat-to-pfsg
> compute-best-rover-mix.~7614     log10-to-bytelog.~7782           
> nbest2-to-nbest1.~8007    select-vocab.~8357                wlat-to-pfsg.~8301
> compute-best-sentence-mix        make-abs-discount                
> nbest-posteriors          sentid-to-ctm                     wordlat-to-lisp
> compute-best-sentence-mix.~7628  make-abs-discount.~7796          
> nbest-posteriors.~7993    sentid-to-ctm.~8175               
> wordlat-to-lisp.~8329
> compute-oov-rate                 make-diacritic-map               nbest-vocab 
>               sentid-to-sclite
> compute-oov-rate.~7642           make-diacritic-map.~7810         
> nbest-vocab.~8021         sentid-to-sclite.~8161
> r...@laxmi-laptop:/home/laxmi/tools/srilm/bin/i686#
>
>
>
>
>
> but while following the manual from the link 
> http://dwisianto.blogspot.com/2008/10/installing-srilm-156-in-ubuntu-804.html
>
> And also at the point of doing this ....
>
> cd moses
> ./regenerate-makefiles.sh
> ./configure --with-srilm=/home/laxmi/tools/srilm 
> --with-irstlm=/home/jschroe1/demo/tools/irstlm
> make -j 4
>
> this gave me a compilation error
>
> the error vanished while replacing "with-srilm" with "prefix="
>
> is that a difference or not ???
>
>
>
>
>
>
>       
> _______________________________________________
> Moses-support mailing list
> [email protected]
> http://mailman.mit.edu/mailman/listinfo/moses-support
>
>   
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to