<p dir="ltr">Pipe into the command and use - (hyphen) for the arg to -ppl</p>
<p dir="ltr">&<br>
--<br>
Sent from my Google Nexus</p>
<div class="gmail_quote">On Oct 14, 2013 6:26 PM, "徐" <<a href="mailto:xulikui123321@163.com">xulikui123321@163.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="line-height:1.7;font-size:14px;font-family:arial">when compute perplexity with ngram, the usage is  ngram -lm language.lm -order 4 -ppl test.txt. <div>but now I want  <span style="line-height:1.7">compute perplexity with ngram from stdin, what's  the command should i use?</span></div>
</div><br><br><span title="neteasefooter"><span></span></span><br>_______________________________________________<br>
SRILM-User site list<br>
<a href="mailto:SRILM-User@speech.sri.com">SRILM-User@speech.sri.com</a><br>
<a href="http://www.speech.sri.com/mailman/listinfo/srilm-user" target="_blank">http://www.speech.sri.com/mailman/listinfo/srilm-user</a><br></blockquote></div>