Freq in a bilingual conversation
Leonid Spektor
spektor at andrew.cmu.edu
Thu Jul 9 16:50:46 UTC 2015
Alex,
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:
freq +s"[- zho]" angela.cha
Leonid.
> On Jul 9, 2015, at 00:16, Leonid Spektor <spektor at andrew.cmu.edu> wrote:
>
> Alex,
>
> Unfortunately the manual has combined two mutually exclusive options into one. The correct commands for example file angela.cha from CUHK corpus are:
>
> freq +l +s*@s:zho angela.cha
>
> freq +s"<- zho>" angela.cha
>
>
> 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.
>
> Leonid.
>
>
>
>> On Jul 8, 2015, at 21:57, A Cristia <alecristia at gmail.com <mailto:alecristia at gmail.com>> wrote:
>>
>> Dear all,
>>
>> This is an old thread, but relevant to my own questions, as I'm also trying to get some freq counts in bilingual conversations.
>>
>> The CLAN manual (p. 95) states:
>> freq +l +s"<- spa>" *.cha
>>
>>
>> However, when I run it on my file, I don't get anything (counts of zero). Note that
>> freq +l *.cha
>>
>>
>> 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
>> freq +l +s"<- zho>" *.cha
>>
>> freq +l +s"[- zho]" *.cha
>>
>>
>> Still zero counts. I also tried online:
>> http://childes.psy.cmu.edu/browser/index.php?url=Biling/CUHK/ <http://childes.psy.cmu.edu/browser/index.php?url=Biling/CUHK/>
>>
>> freq +l +s"[- zho]" angela.cha
>>
>> Wed Jul 8 21:55:43 2015
>> freq (21-Apr-2015) is conducting analyses on:
>> ALL speaker tiers
>> ****************************************
>>
>> From file "angela.cha" <http://childes.talkbank.org/browser/index.php?url=Biling/CUHK/angela.cha>
>> 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)
>>
>> And the same issues with the [ version.
>>
>> What am I doing wrong?
>>
>> Thank you in advance,
>>
>> Alex Cristia
>>
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups "chibolts" group.
>> To unsubscribe from this group and stop receiving emails from it, send an email to chibolts+unsubscribe at googlegroups.com <mailto:chibolts+unsubscribe at googlegroups.com>.
>> To post to this group, send email to chibolts at googlegroups.com <mailto:chibolts at googlegroups.com>.
>> To view this discussion on the web visit https://groups.google.com/d/msgid/chibolts/e8924b92-7f2a-4066-b062-7c509352b84d%40googlegroups.com <https://groups.google.com/d/msgid/chibolts/e8924b92-7f2a-4066-b062-7c509352b84d%40googlegroups.com?utm_medium=email&utm_source=footer>.
>> For more options, visit https://groups.google.com/d/optout <https://groups.google.com/d/optout>.
>
--
You received this message because you are subscribed to the Google Groups "chibolts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chibolts+unsubscribe at googlegroups.com.
To post to this group, send email to chibolts at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/chibolts/FAF72E1F-4277-4225-A803-542F65C6066E%40andrew.cmu.edu.
For more options, visit https://groups.google.com/d/optout.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/chibolts/attachments/20150709/ab23f9a1/attachment.htm>
More information about the Chibolts
mailing list