<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 11/25/2012 10:37 PM, Somayeh
      Bakhshaei wrote:<br>
    </div>
    <blockquote
      cite="mid:1353911875.88765.YahooMailNeo@web111717.mail.gq1.yahoo.com"
      type="cite">
      <div style="color:#000; background-color:#fff; font-family:times
        new roman, new york, times, serif;font-size:12pt">
        <div>Hello All,<br>
          <br>
          I want to know if it is possible to pass a variable to ngram
          for ppl counting?<br>
          <br>
          4sen="this is my sentence."<br>
          ngram -ppl $sen<br>
        </div>
      </div>
    </blockquote>
    You could use<br>
    <br>
    echo "this is my sentence" | ngram -ppl - <br>
    <br>
    The input data cannot be passed via command line options, but it can
    be read from stdin.<br>
    <br>
    Andreas<br>
    <br>
  </body>
</html>