including ID tiers in kwal commands
Rowland, Caroline
crowland at liverpool.ac.uk
Wed Nov 14 07:55:33 UTC 2012
Thanks. That's just what I needed.
Caro
________________________________
From: chibolts at googlegroups.com [chibolts at googlegroups.com] on behalf of Leonid Spektor [spektor at andrew.cmu.edu]
Sent: 12 November 2012 16:10
To: chibolts at googlegroups.com
Subject: Re: including ID tiers in kwal commands
Caro,
KWAL allows specifying tiers that are not part of analysis in the output. You need to use "+o" option instead of "+t" option. Here is what your command will look like:
kwal +t*MOT: +t%mor: +o at ID: +s at locativesMOR.cut<mailto:+s at locativesMOR.cut> +u +d1 *.cha > locatives.cut
Leonid.
On Nov 12, 2012, at 09:19, Rowland, Caroline wrote:
Hi,
We are trying to extract all mother utterances that contain locative verbs from a batch of transcripts (Manchester corpus) using kwal. We have created a cut file containing a list of locative verbs (locativesMOR.cut) and have used the command:
kwal +t*MOT: +t%mor: +s at locativesMOR.cut<mailto:+s at locativesMOR.cut> +u +d1 *.cha > locatives.cut
This gets us exactly what we want except for one thing. We would like to include information from the @ID tier about the child’s age with each utterance. So for each utterance we currently have, for example:
@Comment: ----------------------------------------
@Comment: *** File "anne01a.cha": line 127. Keyword: v|brush-past
*MOT: have her hair brushed ?
%mor: v|have pro:poss:det|her n|hair v|brush-PAST ?
But would like something like:
@Comment: ----------------------------------------
@Comment: *** File "anne01a.cha": line 127. Keyword: v|brush-past
@ID: eng|manchester|CHI|1;10.07|female|normal|middle-class|Target_Child|||
*MOT: have her hair brushed ?
%mor: v|have pro:poss:det|her n|hair v|brush-PAST ?
(i.e. – for each line to have attached to it the ID tier with information about child age).
It doesn’t actually matter how the information about child’s age is provided – as long as we have it attached to each utterance. Is it possible to do this – either with kwal or another command?
Thanks
Caro
--
You received this message because you are subscribed to the Google Groups "chibolts" group.
To post to this group, send email to chibolts at googlegroups.com<mailto:chibolts at googlegroups.com>.
To unsubscribe from this group, send email to chibolts+unsubscribe at googlegroups.com<mailto:chibolts+unsubscribe at googlegroups.com>.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "chibolts" group.
To post to this group, send email to chibolts at googlegroups.com.
To unsubscribe from this group, send email to chibolts+unsubscribe at googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "chibolts" group.
To post to this group, send email to chibolts at googlegroups.com.
To unsubscribe from this group, send email to chibolts+unsubscribe at googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/chibolts/attachments/20121114/b04ae90c/attachment.htm>
More information about the Chibolts
mailing list