<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">V,<br class=""><br class=""><span class="Apple-tab-span" style="white-space:pre"> </span>The suggestions below have been tested on the latest version of CLAN only. I don't know what version your have and so these commands might not work with your version of CLAN.<br class=""><br class="">First, of all since you are using +g1 option with MAXWD you need to make sure that you data file have %mor tier. Otherwise, the morpheme count will be incorrect.<br class=""><br class="">Second, if you want to get separate outputs for multiple files, then you should not use pipe (|) to send output from MAXWD to MLU<br class=""><br class="">Here are commands that I would recommend:<br class=""><br class="">maxwd +g1 +c5 +d1 +t*CHI –s"[+ bch]" +f (your file names)<br class=""><br class="">mlu *.mxwrd.cex > combined.cex<br class=""><br class="">OR<br class=""><br class="">mlu +d *.mxwrd.cex<br class=""><br class="">The last command will give you a warning that @ID tier was not found, but that is okay.<div class="">
<div style="color: rgb(0, 0, 0); font-family: 'Lucida Grande'; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;"><br class="Apple-interchange-newline"><br class=""></div><div style="color: rgb(0, 0, 0); font-family: 'Lucida Grande'; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;">Leonid.</div>
</div>
<div><br class=""><blockquote type="cite" class=""><div class="">On Feb 2, 2018, at 14:12, <a href="mailto:bwv141@gmail.com" class="">bwv141@gmail.com</a> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">maxwd +tCHI +g1 +d1 +c5 –s"[+ bch]" –s+\” @ | mlu > mlu5<div class=""><br class=""></div><div class="">this gets the output to one file, but again collapsing the data across all .cha files rather than giving it for each file. </div><div class=""><br class=""></div><div class="">Any help would be appreciated here. <br class=""><br class="">On Friday, February 2, 2018 at 6:10:14 PM UTC, bwv...@<a href="http://gmail.com" class="">gmail.com</a> wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir="ltr" class="">Hi Leonid<div class=""><br class=""></div><div class="">My question differs from Elma's but relates to the subject line so I am posting it here. </div><div class=""><br class=""></div><div class="">I want to get MLU based on the longest five utterances (MLU5) for 33 separate files. I can do this following the tutorial in the manual for one file. But for my own analyses, I have multiple files that I want to get one output file for (containing the 33 results - not an average). Is there a way to do this?</div><div class=""><br class=""></div><div class="">This is what I thought would work but doesn't:</div><div class=""><font class=""><a name="5e0d2839-8a32-4e37-975c-dea60cce8dfb@googlegroups.com_OLE_LINK4" class=""></a><a name="5e0d2839-8a32-4e37-975c-dea60cce8dfb@googlegroups.com_OLE_LINK3" class=""><span style="font-size:10.5pt;font-family:"Arial","sans-serif"" class="">maxwd +g1
+c5 +d1 +tCHI +o%mor –s"[+ bch]" –s+\” </span></a><span style="font-size:10.5pt;font-family:Arial,sans-serif" class="">@(I enter my files here by clicking File In)</span><span style="font-size:10.5pt;font-family:"Arial","sans-serif"" class=""> | mlu</span></font><br class=""></div><div class=""><font class=""><span style="font-size:10.5pt;font-family:"Arial","sans-serif"" class=""><br class=""></span></font></div><div class="">The above command brings up error messages about %mor tiers not being associated with speakers - which I don't think is an issue since it runs fine when I do it for an individual file. <font class=""><span style="font-size:10.5pt;font-family:"Arial","sans-serif"" class=""><br class=""></span></font></div><div class=""><br class=""></div><div class="">So then I created a batch file, as outlined in the tutorial. But that brings up an error message saying "Can't open output file". Even if I was doing this correctly and it worked, I actually don't want 33 separate files for each output - I'd like them all in one output file (but not averaged). </div><div class=""><br class=""></div><div class="">Any help would be appreciated, </div><div class=""><br class=""></div><div class="">Thanks</div><div class="">V<br class=""><br class="">On Monday, October 10, 2016 at 8:23:54 PM UTC+1, Leonid Spektor wrote:<blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000" class=""><p class="">Elma,</p><p class=""> I assume you had a question. If not I apologies for replying.
If you did, then the reason all files are combined into one is
because you are using a pipe '|'. Pipes combine all files into one
output and MLU only sees that one input file. In vast majority of
cases pipes should not be used at all. The correct command lines
are:</p>
maxwd +t*CHI +g2 +c5 +d1 -t%mor +f *.cha<br class="">
mlu -t%mor *.mxwrd.cex<br class="">
<pre cols="72" class="">Leonid.
</pre>
<div class="">On 10-10-16 10:34, Elma Blom wrote:<br class="">
</div>
<blockquote type="cite" class="">
<div dir="ltr" class=""><span style="font-family:arial,sans-serif;font-size:small" class="">Hi, </span>
<div style="font-family:arial,sans-serif;font-size:small" class=""><br class="">
</div>
<div style="font-family:arial,sans-serif;font-size:small" class="">We
are using the mlu5 command without %mor tier. This goes well
if we run the following command for one child at a time:</div>
<div style="font-family:arial,sans-serif;font-size:small" class=""><br class="">
</div>
<div style="font-family:arial,sans-serif;font-size:small" class="">maxwd
+t*CHI +g2 +c5 +d1 -t%mor *.cha | mlu -t%mor<br class="">
</div>
<div style="font-family:arial,sans-serif;font-size:small" class=""><br class="">
</div>
<div style="font-family:arial,sans-serif;font-size:small" class="">However,
if we select the transcripts of multiple children, mlu is
calculated over all transcripts combined and not for each
child/transcript separately (so we end up with one output
file). If I understand the manual correctly, having a
batchfile does not really solve the issue because we would
still need to specify all transcripts, which are hundreds.<br class="">
</div>
<div style="font-family:arial,sans-serif;font-size:small" class=""><br class="">
</div>
<div style="font-family:arial,sans-serif;font-size:small" class="">Best
wishes, Elma</div>
</div>
-- <br class="">
You received this message because you are subscribed to the Google
Groups "chibolts" group.<br class="">
To unsubscribe from this group and stop receiving emails from it,
send an email to <a rel="nofollow" class="">chibolts+u...@googlegroups.com</a><wbr class="">.<br class="">
To post to this group, send email to <a rel="nofollow" class="">chib...@googlegroups.com</a>.<br class="">
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/chibolts/9c8fb5e5-0e6e-4a25-8adf-af540098e5b7%40googlegroups.com?utm_medium=email&utm_source=footer" rel="nofollow" target="_blank" class="">https://groups.google.com/d/<wbr class="">msgid/chibolts/9c8fb5e5-0e6e-<wbr class="">4a25-8adf-af540098e5b7%<wbr class="">40googlegroups.com</a>.<br class="">
For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank" class="">https://groups.google.com/d/<wbr class="">optout</a>.<br class="">
</blockquote>
<br class="">
</div>
</blockquote></div></div></blockquote></div></div><div class=""><br class="webkit-block-placeholder"></div>
-- <br class="">
You received this message because you are subscribed to the Google Groups "chibolts" group.<br class="">
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:chibolts+unsubscribe@googlegroups.com" class="">chibolts+unsubscribe@googlegroups.com</a>.<br class="">
To post to this group, send email to <a href="mailto:chibolts@googlegroups.com" class="">chibolts@googlegroups.com</a>.<br class="">
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/chibolts/e72c2038-96c7-4996-8c88-d23ab0c1983d%40googlegroups.com?utm_medium=email&utm_source=footer" class="">https://groups.google.com/d/msgid/chibolts/e72c2038-96c7-4996-8c88-d23ab0c1983d%40googlegroups.com</a>.<br class="">
For more options, visit <a href="https://groups.google.com/d/optout" class="">https://groups.google.com/d/optout</a>.<br class="">
</div></blockquote></div><br class=""></body></html>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups "chibolts" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:chibolts+unsubscribe@googlegroups.com">chibolts+unsubscribe@googlegroups.com</a>.<br />
To post to this group, send email to <a href="mailto:chibolts@googlegroups.com">chibolts@googlegroups.com</a>.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/chibolts/CE5DF60C-9773-4866-B847-616A558A1BA4%40andrew.cmu.edu?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/chibolts/CE5DF60C-9773-4866-B847-616A558A1BA4%40andrew.cmu.edu</a>.<br />
For more options, visit <a href="https://groups.google.com/d/optout">https://groups.google.com/d/optout</a>.<br />