<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 1/28/2014 12:40 AM, Rajen Chatterjee
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAC4-+NyDta_MZi1u9h3Z4_TnJFiFa5aYCd5_O18vth1uhFgjQg@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hello,
        <div>       I want to pass this options "-order 5 -nterpolate
          -kndiscount" to make-batch-counts, how can I do this?
          <div><br>
          </div>
          <div>When I am giving this command "./make-batch-counts
            /home/rajen/file_name 1 /home/rajen/count-dir -order 5" I am
            getting this error mkdir: invalid option -- 'o'Try `mkdir
            --help' for more information.</div>
          <div><br>
          </div>
          <div>Can you help me out to fix this problem.</div>
          <div><br>
          </div>
          <br>
        </div>
      </div>
    </blockquote>
    There are two problems:<br>
    <br>
    1 - According to the training-scripts(1) man page, the usage is <br>
    <pre><b>make-batch-counts</b> <i>file-list</i> [ <i>batch-size</i> [ <i>filter</i> [ <i>count-dir</i> [ <i>options</i> ... ] ] ] ]

so you need to pass 4 parameters before any options that are passed to ngram-count.   For the "filter"  parameter you can use the "cat"  program.

2. The options -interpolate and -kndiscount are inappropriate since make-batch-counts does not create LMs, it only collects the counts.


Andreas

</pre>
    <br>
  </body>
</html>