<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Yuuko,</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">    </span>I have changed mlu and mlt to allow the use of "-s"<@s>" and -s"<@i>" options along with -c"[^c]" option. We never had a situation before in which someone wanted to exclude words delimited by <....> [code] from the tier mlu count, so this feature was disabled. Usually, the whole tier is excluded, which is done with postcodes, [+ ...].  You can use this command to get the results you want:</div><div><br></div><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal 'Arial Unicode MS'; ">mlu -t%mor -c"[^c]" -s"<@s>" -s"<@i>" filename.cha</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal 'Arial Unicode MS'; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal 'Arial Unicode MS'; ">Please, note that you have to use the "-t%mor" option, because the clause codes and other codes are not specified on %mor tiers. The "%mor" tier is the default tier for mlu analysis.</div><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br class="Apple-interchange-newline">Leonid.</div><div><br></div></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<br><div><div>On Jun 21, 2010, at 17:57, Yuuko Uchikoshi wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Than you Leonid for your email.</blockquote><div>We actually tried </div><div><br></div><div>mlu -c"[^c]" -s"<@s>" -s"<@i>" filename.cha</div>
<div><br></div><div>and we get the following error message… </div><div><div><br></div><div>> mlu -c"[^c]" -s"<@s>" -s"<@i>" F1017*.cha</div><div>-s@ or -s option can not be used together with either option +s@ or +s.</div>
<div>Offending word is: <@s></div></div><div><br></div><div>I have attached the file we are testing this on.  Basically the child says:</div><div><div><br></div><div>*CHI: the dog is looking at the frog [^c].</div><div>
*INV: mmhm.</div><div>*CHI: <um> [@i] the boy is sleeping [^c] but the dog said [^c]  the frog</div><div><span class="Apple-tab-span" style="white-space:pre">     </span>jumped out [^c].</div><div>*CHI: <cantonese words> [@s].</div>
<div>*CHI: the end.</div></div><div><br></div><div>We wanted to have total number of words: 21</div><div>Total number of clauses: 4 (we don't want to count <cantonese words> and <the end>)</div><div><br></div>
<div>Thank you so much for helping us out!</div><div><br></div><div>Best,</div><div>Yuuko</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="gmail_quote">
From: <b class="gmail_sendername">Leonid Spektor</b> <span dir="ltr"><<a href="mailto:spektor@andrew.cmu.edu" target="_blank">spektor@andrew.cmu.edu</a>></span><br>
Date: Mon, Jun 21, 2010 at 2:35 PM<br>Subject: Re: MLU using clauses?<br>To: "<a href="mailto:yuchikoshi@ucdavis.edu" target="_blank">yuchikoshi@ucdavis.edu</a>" <<a href="mailto:yt94123@gmail.com" target="_blank">yt94123@gmail.com</a>><br>

<br><br>Yuuko,<br>
<br>
As best as I understand what you are trying to do you need to use the same options to exclude code-switched words or fillers in mlu as you do in freq. In this case your mlu command would look like this:<br>
<br>
mlu -c"[^c]" -s"<@s>" -s"<@i>" filename.cha<br>
<br>
If this does not help, then please email me a small example of the input file and an example of the output you expect to get.<br>
<font color="#888888"><br>
Leonid.<br>
</font><div><div></div><div><br>
<br>
<br>
<br>
<br>
On Jun 21, 2010, at 17:00, <a href="mailto:yuchikoshi@ucdavis.edu" target="_blank">yuchikoshi@ucdavis.edu</a> wrote:<br>
<br>
> Hello. I am trying to count MLU using clauses as units, but not<br>
> counting code-switched words or fillers.<br>
><br>
> I put in @s for all code-switched words and @i for all fillers.<br>
><br>
> When I do freq  +t*CHI -s"<@s>" -s"<@i>" filename*.cha<br>
> I get the type/token for all words minus the code-switched words and<br>
> fillers.<br>
><br>
> However, when I do: mlu -c"[^c]" filename.cha<br>
> it counts my code-switched sentences as extra utterances.<br>
><br>
> Can someone tell me the command to count MLU using clauses as units,<br>
> but not counting code-switched words or fillers?<br>
><br>
> Thank you.<br>
><br>
> Sincerely,<br>
> Yuuko Uchikoshi<br>
><br>
> --<br>
> You received this message because you are subscribed to the Google Groups "Info-CHILDES" group.<br>
> To post to this group, send email to <a href="mailto:info-childes@googlegroups.com" target="_blank">info-childes@googlegroups.com</a>.<br>
> To unsubscribe from this group, send email to <a href="mailto:info-childes%2Bunsubscribe@googlegroups.com" target="_blank">info-childes+unsubscribe@googlegroups.com</a>.<br>
> For more options, visit this group at <a href="http://groups.google.com/group/info-childes?hl=en" target="_blank">http://groups.google.com/group/info-childes?hl=en</a>.<br>
><br>
><br>
<br>
</div></div></div><br>
</blockquote></div><br>
<span><F1017E_test2.cha></span></blockquote></div><br></div></body></html>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups "chibolts" group.<br />
To post to this group, send email to chibolts@googlegroups.com.<br />
To unsubscribe from this group, send email to chibolts+unsubscribe@googlegroups.com.<br />

For more options, visit this group at http://groups.google.com/group/chibolts?hl=en.<br />