<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Alex,<div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>I want to add one more command line which will count zho words located only on utterances that have all or most words spoken in zho language:</div><div class=""><br class=""></div><div class="">freq +s"[- zho]" angela.cha<br class=""><br class=""><div class="">
<br class="Apple-interchange-newline"><span style="color: rgb(0, 0, 0); font-family: 'Lucida Grande'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none;" class="">Leonid.</span>
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On Jul 9, 2015, at 00:16, Leonid Spektor <<a href="mailto:spektor@andrew.cmu.edu" class="">spektor@andrew.cmu.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=us-ascii" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Alex,<div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>Unfortunately the manual has combined two mutually exclusive options into one. The correct commands for example file angela.cha from CUHK corpus are:</div><div class=""><br class=""></div><div class="">freq +l +s*@s:zho angela.cha</div><div class=""><br class=""></div><div class="">freq +s"<- zho>" angela.cha</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Combination of options "+l +s*@s:zho" will locate all words spoken in zho language. The option +s"<- zho> will only locate utterances that have either all or most words spoken in zho language.<br class=""><div class="">
<div style="font-family: 'Lucida Grande'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class="Apple-interchange-newline">Leonid.</div><div style="font-family: 'Lucida Grande'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class=""></div><br class="Apple-interchange-newline">
</div>
<br class=""><div class=""><blockquote type="cite" class=""><div class="">On Jul 8, 2015, at 21:57, A Cristia <<a href="mailto:alecristia@gmail.com" class="">alecristia@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">Dear all,</div><div class=""><br class=""></div><div class="">This is an old thread, but relevant to my own questions, as I'm also trying to get some freq counts in bilingual conversations.</div><div class=""><br class=""></div><div class="">The CLAN manual (p. 95) states:</div><div class=""><div class=""><div class="page" title="Page 95"><div class="layoutArea"><div class="column"><p class=""><span style="font-size: 10pt; font-family: Courier; font-weight: 700;" class="">freq +l +s"<- spa>" *.cha </span></p><div class=""><span style="font-size: 10pt; font-family: Courier; font-weight: 700;" class=""><br class=""></span></div></div></div></div></div></div><div class="">However, when I run it on my file, I don't get anything (counts of zero). Note that </div><div class=""><p class=""><span style="font-size: 10pt; font-family: Courier; font-weight: 700;" class="">freq +l *.cha </span></p></div><div class=""><span style="font-size: 10pt; font-family: Courier; font-weight: 700;" class=""><br class=""></span></div><div class="">does yield the expected results (frequencies by language by speaker). I thought there may be something wrong with my file, so I downloaded the CUHK corpus, because the "angela.cha" file has some '[- zho]' and tried</div><div class=""><p class=""><span style="font-size: 10pt; font-family: Courier; font-weight: 700;" class="">freq +l +s"<- zho>" *.cha </span></p></div><div class=""><div class=""><p class=""><span style="font-size: 10pt; font-family: Courier; font-weight: 700;" class="">freq +l +s"[- zho]" *.cha </span></p></div></div><div class=""><span style="font-size: 10pt; font-family: Courier; font-weight: 700;" class=""><br class=""></span></div><div class="">Still zero counts. I also tried online:</div><div class=""><a href="http://childes.psy.cmu.edu/browser/index.php?url=Biling/CUHK/" class="">http://childes.psy.cmu.edu/browser/index.php?url=Biling/CUHK/</a><br class=""></div><div class=""><br class=""></div><div class=""><span style="font-family: 'Arial Unicode MS', CAFont, Courier, serif; font-size: 14px; line-height: 18px;" class="">freq +l +s"[- zho]" angela.cha</span><br style="font-family: 'Arial Unicode MS', CAFont, Courier, serif; font-size: 14px; line-height: 18px;" class=""><br style="font-family: 'Arial Unicode MS', CAFont, Courier, serif; font-size: 14px; line-height: 18px;" class=""><div id="command_output" style="white-space: pre; font-family: 'Arial Unicode MS', CAFont, Courier, serif; font-size: 14px; line-height: 18px;" class="">Wed Jul 8 21:55:43 2015
freq (21-Apr-2015) is conducting analyses on:
ALL speaker tiers
****************************************
<a href="http://childes.talkbank.org/browser/index.php?url=Biling/CUHK/angela.cha" style="color: rgb(96, 0, 0); cursor: pointer;" class=""><br class=""><strong style="letter-spacing: 1px;" class="">From file "angela.cha"</strong></a>
Speaker: *AUN:
------------------------------
0 Total number of different item types used
0 Total number of items (tokens)
Speaker: *CHI:
------------------------------
0 Total number of different item types used
0 Total number of items (tokens)
Speaker: *UNC:
------------------------------
0 Total number of different item types used
0 Total number of items (tokens)
Speaker: *MOT:
------------------------------
0 Total number of different item types used
0 Total number of items (tokens)</div></div><div class=""><br class=""></div><div class=""> And the same issues with the [ version.</div><div class=""><br class=""></div><div class="">What am I doing wrong?</div><div class=""><br class=""></div><div class="">Thank you in advance,</div><div class=""><br class=""></div><div class="">Alex Cristia</div><div class="">
<div class="page" title="Page 95">
<div class="layoutArea">
<div class="column"><p class=""><br class=""></p></div></div></div></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/e8924b92-7f2a-4066-b062-7c509352b84d%40googlegroups.com?utm_medium=email&utm_source=footer" class="">https://groups.google.com/d/msgid/chibolts/e8924b92-7f2a-4066-b062-7c509352b84d%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=""></div></div></div></blockquote></div><br class=""></div></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/FAF72E1F-4277-4225-A803-542F65C6066E%40andrew.cmu.edu?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/chibolts/FAF72E1F-4277-4225-A803-542F65C6066E%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 />