<div dir="ltr">Hi Leonid,<div><br></div><div>Yes thank you this will work out great!</div><div><br></div><div>Janet</div><br><div class="gmail_quote"><div dir="ltr">On Mon, Nov 19, 2018 at 6:08 PM Leonid Spektor <<a href="mailto:spektor@andrew.cmu.edu">spektor@andrew.cmu.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space">Janet,<div><br></div><div><span class="m_2691835083282686434Apple-tab-span" style="white-space:pre-wrap">   </span>MLU and most other commands work on word by word bases, so the -s"L2|*" or -s"*@s* options will only exclude those words, but not the whole utterance. KWAL and COMBO allow selection or exclusion of the whole utterances based on words on those utterances. If you have "[- eng]" pre-code and @s symbols on words and you want to exclude all utterances with "[- eng]" pre-code or if the utterance has at least one word with @s, then you need to use KWAL to extract the utterances you want first and then run MLU on the output of KWAL command. This KWAL and MLU commands should do what you want:</div><div><br></div><div><font color="#0433ff">kwal -s"[- eng]" -s*@s* +o@ID +o% -d +f  filename(s).cha</font></div><div><font color="#0433ff">mlu *.kwal.cex<br></font><div><br class="m_2691835083282686434webkit-block-placeholder"></div><div>If this doesn't do what you want, then please email to me a sample of your data files, so that I could see how you have coded them and give me more details on what you want to achieve.</div><div>
<br><br>Leonid.

</div>
<div><br><blockquote type="cite"><div>On Nov 19, 2018, at 18:52, Janet Bang <<a href="mailto:jbang@stanford.edu" target="_blank">jbang@stanford.edu</a>> wrote:</div><br class="m_2691835083282686434Apple-interchange-newline"><div><div id="m_2691835083282686434divtagdefaultwrapper" dir="ltr" style="font-size:12pt;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;font-family:Calibri,Helvetica,sans-serif"><div style="margin-top:0px;margin-bottom:0px">Hello, </div><div style="margin-top:0px;margin-bottom:0px"><br></div><div style="margin-top:0px;margin-bottom:0px">We are working on bilingual transcriptions and had a question about code-switched utterances. Apologies if I've missed this in the manual. </div><div style="margin-top:0px;margin-bottom:0px"><br></div><div style="margin-top:0px;margin-bottom:0px">One of our goals is to obtain an mlu for Spanish only utterances, excluding mixed utterances. For example: </div><div style="margin-top:0px;margin-bottom:0px">*MOT: ahorita tienes que comer.</div><div style="margin-top:0px;margin-bottom:0px">*MOT: no es time@s to@s sleep@s. </div><div style="margin-top:0px;margin-bottom:0px"><br></div><div style="margin-top:0px;margin-bottom:0px">We would like to obtain an mlu (on the %mor line) excluding the utterance with code-switching. We've tried <span style="font-size:12pt">the following command, but this includes both</span>utterances <span style="font-size:12pt">excluding the English words, where we'd like the output to consider the Spanish-only line. </span><span style="font-size:12pt"></span></div><div style="margin-top:0px;margin-bottom:0px"><span style="font-size:12pt;font-family:Calibri,sans-serif">mlu -s"[- eng]" -s"L2|*"</span><br></div><div style="margin-top:0px;margin-bottom:0px"><br></div><div style="margin-top:0px;margin-bottom:0px">It seems like our options are: </div><div style="margin-top:0px;margin-bottom:0px">1) go back to our transcripts and add a postcode for any code-switched utterances to use the +s switch with postcodes</div><div style="margin-top:0px;margin-bottom:0px">2) use kwal to exclude utterances with the @s symbol similar to what is seen<span class="m_2691835083282686434Apple-converted-space"> </span><a href="https://groups.google.com/forum/#!msg/chibolts/kdeVQEw7OZI/Siad8ni4SrEJ;context-place=searchin/chibolts/adding$20postcode%7Csort:date" class="m_2691835083282686434OWAAutoLink" id="m_2691835083282686434LPlnk274191" target="_blank">here</a></div><div id="m_2691835083282686434Signature"><div id="m_2691835083282686434divtagdefaultwrapper" dir="ltr" style="font-size:12pt;font-family:Calibri,Helvetica,sans-serif,Helvetica,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols"><div style="margin-top:0px;margin-bottom:0px"><br></div><div style="margin-top:0px;margin-bottom:0px">I wanted to know if there was a way to use the switches to exclude utterances with the @s symbol, or automate a way to include a postcode in our transcripts for every utterance with the @s symbol? </div><div style="margin-top:0px;margin-bottom:0px"><br></div><div style="margin-top:0px;margin-bottom:0px">Thank you in advance, </div><div style="margin-top:0px;margin-bottom:0px">Janet</div><div style="margin-top:0px;margin-bottom:0px"><br></div><div style="margin-top:0px;margin-bottom:0px"><br></div><div style="margin-top:0px;margin-bottom:0px"><br></div><div style="margin-top:0px;margin-bottom:0px"><br></div><div style="margin-top:0px;margin-bottom:0px"><br></div><div style="margin-top:0px;margin-bottom:0px"><br></div></div></div></div><p style="margin-top:0px;margin-bottom:0px;font-family:ArialMT;font-size:16px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"></p><span style="font-family:ArialMT;font-size:16px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline!important">--<span class="m_2691835083282686434Apple-converted-space"> </span></span><br style="font-family:ArialMT;font-size:16px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><span style="font-family:ArialMT;font-size:16px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline!important">You received this message because you are subscribed to the Google Groups "chibolts" group.</span><br style="font-family:ArialMT;font-size:16px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><span style="font-family:ArialMT;font-size:16px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline!important">To unsubscribe from this group and stop receiving emails from it, send an email to<span class="m_2691835083282686434Apple-converted-space"> </span></span><a href="mailto:chibolts+unsubscribe@googlegroups.com" style="font-family:ArialMT;font-size:16px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" target="_blank">chibolts+unsubscribe@googlegroups.com</a><span style="font-family:ArialMT;font-size:16px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline!important">.</span><br style="font-family:ArialMT;font-size:16px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><span style="font-family:ArialMT;font-size:16px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline!important">To post to this group, send email to<span class="m_2691835083282686434Apple-converted-space"> </span></span><a href="mailto:chibolts@googlegroups.com" style="font-family:ArialMT;font-size:16px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" target="_blank">chibolts@googlegroups.com</a><span style="font-family:ArialMT;font-size:16px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline!important">.</span><br style="font-family:ArialMT;font-size:16px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><span style="font-family:ArialMT;font-size:16px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline!important">To view this discussion on the web visit<span class="m_2691835083282686434Apple-converted-space"> </span></span><a href="https://groups.google.com/d/msgid/chibolts/MWHPR02MB32801F5C1CF989ABE63E162FD7D80%40MWHPR02MB3280.namprd02.prod.outlook.com?utm_medium=email&utm_source=footer" style="font-family:ArialMT;font-size:16px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" target="_blank">https://groups.google.com/d/msgid/chibolts/MWHPR02MB32801F5C1CF989ABE63E162FD7D80%40MWHPR02MB3280.namprd02.prod.outlook.com</a><span style="font-family:ArialMT;font-size:16px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline!important">.</span><br style="font-family:ArialMT;font-size:16px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><span style="font-family:ArialMT;font-size:16px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline!important">For more options, visit<span class="m_2691835083282686434Apple-converted-space"> </span></span><a href="https://groups.google.com/d/optout" style="font-family:ArialMT;font-size:16px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" target="_blank">https://groups.google.com/d/optout</a><span style="font-family:ArialMT;font-size:16px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline!important">.</span></div></blockquote></div><br></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" target="_blank">chibolts+unsubscribe@googlegroups.com</a>.<br>
To post to this group, send email to <a href="mailto:chibolts@googlegroups.com" target="_blank">chibolts@googlegroups.com</a>.<br>
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/chibolts/09D9B74F-676E-4C90-971E-94C6E0E898BF%40andrew.cmu.edu?utm_medium=email&utm_source=footer" target="_blank">https://groups.google.com/d/msgid/chibolts/09D9B74F-676E-4C90-971E-94C6E0E898BF%40andrew.cmu.edu</a>.<br>
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank">https://groups.google.com/d/optout</a>.<br>
</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/CAC5V4hhzEG8MPDM8vSY_1tKFNSLFxVF2w9qc0NmE5pH4d6JbQA%40mail.gmail.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/chibolts/CAC5V4hhzEG8MPDM8vSY_1tKFNSLFxVF2w9qc0NmE5pH4d6JbQA%40mail.gmail.com</a>.<br />
For more options, visit <a href="https://groups.google.com/d/optout">https://groups.google.com/d/optout</a>.<br />