[SRILM User List] perplexity results

xulikui123321 at 163.com
Wed Feb 8 23:20:37 PST 2017


Hi, Andreas:


    I want to rewrite the program ngram to web service, so i can query perplexity on Browser page.
    in ~/srilm/lm/src directory, i rewrite ngram.cc and named ngramService.cc
     then i compile it with follow command:
    g++ -m64 -I ~/srilm/include/ -c ngramService.cc -o ngramService
    it compile succecced.
      But when i execute it,
System prompt:./ngramService: cannot execute binary file
even  after chmod +x ngramService command.


am i miss something in compile command ?


my machine is 64, when i type unama -a:
Linux bjzw_48_43 2.6.32-504.23.4.el6.x86_64 #1 SMP Fri May 29 10:16:43 EDT 2015 x86_64 x86_64 x86_64 GNU/Linux







-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.speech.sri.com/pipermail/srilm-user/attachments/20170209/9694bcc1/attachment.html>


More information about the SRILM-User mailing list