Running MLU on selected codes

Leonid Spektor spektor at andrew.cmu.edu
Tue Feb 12 11:26:59 UTC 2019


Hanne,

	I think I misunderstood what you wanted. The coding on dependent tiers, like %spa, only refers to the utterances that the dependent tier is following. In those cases you can use KWAL command to extract those utterances. 

	If you want codes to refer to multiple utterances, then the code has to be on @Bg and @Eg tiers. Then you can use GEM command to extract just those utterances. Depending on how many gems your data file has you might be able to use @G tier instead of @Bg and @Eg tiers.

It sound like in your case codes should be on @Bg and @Eg tiers like so:

@Bg:	CONT:resp
*MOT:	shall mummy taste.
*MOT:	that was good. 
@Eg:	CONT:resp

This way the command "gem +t*FATH +sCONT:resp +f +u @" will do what you want.

If you could email to me directly one of your typical data files, then I could better advise you how to proceed.


Leonid.

> On Feb 12, 2019, at 05:35, hanneindregaard at gmail.com wrote:
> 
> Thank you, Leonid.
> 
> I`ve tried this command, but when I extract the codes I`m interested in, I only get the utterance preceding the code (i.e. the last utterance).
> Then I`ve tried the GEM-command to get the whole turns, like this:
>  gem +t*FATH +t%spa +f +u @
> 
> This command gives me all gems, but I`m only interested in some gems coded with specific codes (it does not work with the +s"$*CONT:resp*" function, as in kwal).
> Also, I can`t figure out how to run MLU on all utterances within a gem coded with specific codes.
> 
> Thanks again,
> Hanne
> 
> 
> 
> onsdag 6. februar 2019 21.19.21 UTC+1 skrev Leonid Spektor følgende:
> Hanne,
> 
> 	You can use KWAL to extract all utterances with codes that you are interested in and then run MLU on the output of KWAL command. Use "+d +o@ +o%MOR" options with KWAL.
> 
> 
> Leonid.
> 
>> On Feb 6, 2019, at 14:39, hannein... at gmail.com <javascript:> wrote:
>> 
>> Hi,
>> 
>> I’ve coded parent-child interactions using the %spa-line. The coding is performed on a turn level, meaning that one turn can contain of several utterances. In those instances where a turn consist of two or more utterances, I’ve used the @Bg and @Eg symbols, to mark the start and end of a turn, like this:
>> @Bg
>> *MOT: shall mummy taste.
>> *MOT: that was good.
>> %spa: CONT:resp
>> @Eg
>>  
>> Now I want to compare MLU on utterances coded with one specific code (e.g. %spa:CONT:resp) with the MLU on utterances coded with other codes (e.g. %spa:IN:tru and %spa:IN:resp). Is there a way to do this in CLAN?
>> 
>> Thank you,
>> Hanne
>> 
>> 
>> -- 
>> 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+u... at googlegroups.com <javascript:>.
>> To post to this group, send email to chib... at googlegroups.com <javascript:>.
>> To view this discussion on the web visit https://groups.google.com/d/msgid/chibolts/9405c787-6446-4011-a6fd-e387e6b4249c%40googlegroups.com <https://groups.google.com/d/msgid/chibolts/9405c787-6446-4011-a6fd-e387e6b4249c%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 <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/0a5afaab-befd-46eb-8354-a772245e03ef%40googlegroups.com <https://groups.google.com/d/msgid/chibolts/0a5afaab-befd-46eb-8354-a772245e03ef%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/E8E1D368-EAD7-49F0-9132-D471947EE1F7%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/20190212/40d87f71/attachment.htm>


More information about the Chibolts mailing list