<div dir="ltr">Leonid,<div><br></div><div>Thank you so much for the response - I see now how the syntax changes between the two commands you first mentioned.</div><div><br></div><div>Surprisingly, though, I'm still getting zero counts with both:</div><div>freq +s"[- zho]" angela.cha<br></div><div>freq +s"<- zho>" angela.cha<br></div><div><br></div><div>For instance, on http://childes.psy.cmu.edu/browser/index.php?url=Biling/CUHK/<br></div><div><span style="color: rgb(0, 0, 0); font-family: 'Arial Unicode MS', CAFont, Courier, serif; font-size: 14px; line-height: 18px;">freq +s"[- zho]" angela.cha</span><br style="color: rgb(0, 0, 0); font-family: 'Arial Unicode MS', CAFont, Courier, serif; font-size: 14px; line-height: 18px;"><br style="color: rgb(0, 0, 0); font-family: 'Arial Unicode MS', CAFont, Courier, serif; font-size: 14px; line-height: 18px;"><div id="command_output" style="white-space: pre; color: rgb(0, 0, 0); font-family: 'Arial Unicode MS', CAFont, Courier, serif; font-size: 14px; line-height: 18px;">Fri Jul 10 12:08:27 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;"><br><strong style="letter-spacing: 1px;">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><br>Yet on lines 31, 174, 303, etc, there are some [- zho].</div><div><br></div><div>Thank you once more,</div><div><br></div><div>-alex</div><div><br>On Thursday, July 9, 2015 at 11:50:06 AM UTC-5, Spektor, Leonid: CMU 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">Alex,<div><br></div><div><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><br></div><div>freq +s"[- zho]" angela.cha<br><br><div>
<br><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;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none">Leonid.</span>

</div>
<br><div><blockquote type="cite"><div>On Jul 9, 2015, at 00:16, Leonid Spektor <<a href="javascript:" target="_blank" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">spe...@andrew.cmu.edu</a>> wrote:</div><br><div><div style="word-wrap:break-word">Alex,<div><br></div><div><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><br></div><div>freq +l +s*@s:zho angela.cha</div><div><br></div><div>freq +s"<- zho>" angela.cha</div><div><br></div><div><br></div><div>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><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;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br>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;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br></div><br>

</div>
<br><div><blockquote type="cite"><div>On Jul 8, 2015, at 21:57, A Cristia <<a href="javascript:" target="_blank" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">alecr...@gmail.com</a>> wrote:</div><br><div><div dir="ltr"><div>Dear all,</div><div><br></div><div>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><br></div><div>The CLAN manual (p. 95) states:</div><div><div><div title="Page 95"><div><div><p><span style="font-size:10pt;font-family:Courier;font-weight:700">freq +l +s"<- spa>" *.cha </span></p><div><span style="font-size:10pt;font-family:Courier;font-weight:700"><br></span></div></div></div></div></div></div><div>However, when I run it on my file, I don't get anything (counts of zero). Note that </div><div><p><span style="font-size:10pt;font-family:Courier;font-weight:700">freq +l *.cha </span></p></div><div><span style="font-size:10pt;font-family:Courier;font-weight:700"><br></span></div><div>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><p><span style="font-size:10pt;font-family:Courier;font-weight:700">freq +l +s"<- zho>" *.cha </span></p></div><div><div><p><span style="font-size:10pt;font-family:Courier;font-weight:700">freq +l +s"[- zho]" *.cha </span></p></div></div><div><span style="font-size:10pt;font-family:Courier;font-weight:700"><br></span></div><div>Still zero counts. I also tried online:</div><div><a href="http://childes.psy.cmu.edu/browser/index.php?url=Biling/CUHK/" target="_blank" rel="nofollow" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fchildes.psy.cmu.edu%2Fbrowser%2Findex.php%3Furl%3DBiling%2FCUHK%2F\46sa\75D\46sntz\0751\46usg\75AFQjCNERYV1kvk6mBIlF_oF2bw7FctWsFQ';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fchildes.psy.cmu.edu%2Fbrowser%2Findex.php%3Furl%3DBiling%2FCUHK%2F\46sa\75D\46sntz\0751\46usg\75AFQjCNERYV1kvk6mBIlF_oF2bw7FctWsFQ';return true;">http://childes.psy.cmu.edu/browser/index.php?url=Biling/CUHK/</a><br></div><div><br></div><div><span style="font-family:'Arial Unicode MS',CAFont,Courier,serif;font-size:14px;line-height:18px">freq +l +s"[- zho]" angela.cha</span><br style="font-family:'Arial Unicode MS',CAFont,Courier,serif;font-size:14px;line-height:18px"><br style="font-family:'Arial Unicode MS',CAFont,Courier,serif;font-size:14px;line-height:18px"><div style="white-space:pre;font-family:'Arial Unicode MS',CAFont,Courier,serif;font-size:14px;line-height:18px">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)" target="_blank" rel="nofollow" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fchildes.talkbank.org%2Fbrowser%2Findex.php%3Furl%3DBiling%2FCUHK%2Fangela.cha\46sa\75D\46sntz\0751\46usg\75AFQjCNFOloUkuQWsGZkjx3zBnioRGg37QA';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fchildes.talkbank.org%2Fbrowser%2Findex.php%3Furl%3DBiling%2FCUHK%2Fangela.cha\46sa\75D\46sntz\0751\46usg\75AFQjCNFOloUkuQWsGZkjx3zBnioRGg37QA';return true;"><br><strong style="letter-spacing:1px">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><br></div><div> And the same issues with the [ version.</div><div><br></div><div>What am I doing wrong?</div><div><br></div><div>Thank you in advance,</div><div><br></div><div>Alex Cristia</div><div>
                
        
        
                <div title="Page 95">
                        <div>
                                <div><p><br></p></div></div></div></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" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">chibolts+u...@googlegroups.com</a>.<br>
To post to this group, send email to <a href="javascript:" target="_blank" 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/e8924b92-7f2a-4066-b062-7c509352b84d%40googlegroups.com?utm_medium=email&utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href='https://groups.google.com/d/msgid/chibolts/e8924b92-7f2a-4066-b062-7c509352b84d%40googlegroups.com?utm_medium\75email\46utm_source\75footer';return true;" onclick="this.href='https://groups.google.com/d/msgid/chibolts/e8924b92-7f2a-4066-b062-7c509352b84d%40googlegroups.com?utm_medium\75email\46utm_source\75footer';return true;">https://groups.google.com/d/msgid/chibolts/e8924b92-7f2a-4066-b062-7c509352b84d%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/optout</a>.<br>
</div></blockquote></div><br></div></div></div></blockquote></div><br></div></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/2b392587-f72a-45c8-86ff-e5812c62d07b%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/chibolts/2b392587-f72a-45c8-86ff-e5812c62d07b%40googlegroups.com</a>.<br />
For more options, visit <a href="https://groups.google.com/d/optout">https://groups.google.com/d/optout</a>.<br />