<div dir="ltr">This has worked - thanks very much! <div><br></div><div>Vicky<br><br>On Friday, February 2, 2018 at 7:20:42 PM UTC, Leonid Spektor wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div style="word-wrap:break-word;line-break:after-white-space">V,<br><br><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><br>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><br>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><br>Here are commands that I would recommend:<br><br>maxwd +g1 +c5 +d1 +t*CHI –s"[+ bch]" +f (your file names)<br><br>mlu *.mxwrd.cex > combined.cex<br><br>OR<br><br>mlu +d *.mxwrd.cex<br><br>The last command will give you a warning that @ID tier was not found, but that is okay.<div>
<div style="color:rgb(0,0,0);font-family:'Lucida Grande';font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br><br></div><div style="color:rgb(0,0,0);font-family:'Lucida Grande';font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">Leonid.</div>
</div>
<div><br><blockquote type="cite"><div>On Feb 2, 2018, at 14:12, <a href="javascript:" target="_blank" gdf-obfuscated-mailto="qZF8FsBcAwAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">bwv...@gmail.com</a> wrote:</div><br><div><div dir="ltr">maxwd +tCHI +g1 +d1 +c5 –s"[+ bch]" –s+\” @ | mlu > mlu5<div><br></div><div>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><br></div><div>Any help would be appreciated here. <br><br>On Friday, February 2, 2018 at 6:10:14 PM UTC, bwv...@<a href="http://gmail.com" target="_blank" rel="nofollow" onmousedown="this.href='http://gmail.com';return true;" onclick="this.href='http://gmail.com';return true;">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">Hi Leonid<div><br></div><div>My question differs from Elma's but relates to the subject line so I am posting it here. </div><div><br></div><div>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><br></div><div>This is what I thought would work but doesn't:</div><div><font><a name="CE5DF60C-9773-4866-B847-616A558A1BA4@andrew.cmu.edu_5e0d2839-8a32-4e37-975c-dea60cce8dfb@googlegroups.com_OLE_LINK4"></a><a name="CE5DF60C-9773-4866-B847-616A558A1BA4@andrew.cmu.edu_5e0d2839-8a32-4e37-975c-dea60cce8dfb@googlegroups.com_OLE_LINK3"><span style="font-size:10.5pt;font-family:"Arial","sans-serif"">maxwd +g1
+c5 +d1 +tCHI +o%mor –s"[+ bch]" –s+\” </span></a><span style="font-size:10.5pt;font-family:Arial,sans-serif">@(I enter my files here by clicking File In)</span><span style="font-size:10.5pt;font-family:"Arial","sans-serif""> | mlu</span></font><br></div><div><font><span style="font-size:10.5pt;font-family:"Arial","sans-serif""><br></span></font></div><div>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><span style="font-size:10.5pt;font-family:"Arial","sans-serif""><br></span></font></div><div><br></div><div>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><br></div><div>Any help would be appreciated, </div><div><br></div><div>Thanks</div><div>V<br><br>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"><p>Elma,</p><p> 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>
mlu -t%mor *.mxwrd.cex<br>
<pre cols="72">Leonid.
</pre>
<div>On 10-10-16 10:34, Elma Blom wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:small">Hi, </span>
<div style="font-family:arial,sans-serif;font-size:small"><br>
</div>
<div style="font-family:arial,sans-serif;font-size:small">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"><br>
</div>
<div style="font-family:arial,sans-serif;font-size:small">maxwd
+t*CHI +g2 +c5 +d1 -t%mor *.cha | mlu -t%mor<br>
</div>
<div style="font-family:arial,sans-serif;font-size:small"><br>
</div>
<div style="font-family:arial,sans-serif;font-size:small">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>
</div>
<div style="font-family:arial,sans-serif;font-size:small"><br>
</div>
<div style="font-family:arial,sans-serif;font-size:small">Best
wishes, Elma</div>
</div>
-- <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 rel="nofollow">chibolts+u...@googlegroups.com</a><wbr>.<br>
To post to this group, send email to <a rel="nofollow">chib...@googlegroups.com</a>.<br>
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" onmousedown="this.href='https://groups.google.com/d/msgid/chibolts/9c8fb5e5-0e6e-4a25-8adf-af540098e5b7%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter';return true;" onclick="this.href='https://groups.google.com/d/msgid/chibolts/9c8fb5e5-0e6e-4a25-8adf-af540098e5b7%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter';return true;">https://groups.google.com/d/<wbr>msgid/chibolts/9c8fb5e5-0e6e-<wbr>4a25-8adf-af540098e5b7%<wbr>40googlegroups.com</a>.<br>
For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank" onmousedown="this.href='https://groups.google.com/d/optout';return true;" onclick="this.href='https://groups.google.com/d/optout';return true;">https://groups.google.com/d/<wbr>optout</a>.<br>
</blockquote>
<br>
</div>
</blockquote></div></div></blockquote></div></div><div><br></div>
-- <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="javascript:" target="_blank" gdf-obfuscated-mailto="qZF8FsBcAwAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">chibolts+u...@<wbr>googlegroups.com</a>.<br>
To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="qZF8FsBcAwAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">chib...@googlegroups.com</a>.<br>
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" target="_blank" rel="nofollow" onmousedown="this.href='https://groups.google.com/d/msgid/chibolts/e72c2038-96c7-4996-8c88-d23ab0c1983d%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter';return true;" onclick="this.href='https://groups.google.com/d/msgid/chibolts/e72c2038-96c7-4996-8c88-d23ab0c1983d%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter';return true;">https://groups.google.com/d/<wbr>msgid/chibolts/e72c2038-96c7-<wbr>4996-8c88-d23ab0c1983d%<wbr>40googlegroups.com</a>.<br>
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href='https://groups.google.com/d/optout';return true;" onclick="this.href='https://groups.google.com/d/optout';return true;">https://groups.google.com/d/<wbr>optout</a>.<br>
</div></blockquote></div><br></div></blockquote></div></div>
<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/6cb07b8a-5842-4843-9523-cf4f5349909e%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/chibolts/6cb07b8a-5842-4843-9523-cf4f5349909e%40googlegroups.com</a>.<br />
For more options, visit <a href="https://groups.google.com/d/optout">https://groups.google.com/d/optout</a>.<br />