Outputting KWAL search by keywords

Mits Ota mits at ling.ed.ac.uk
Fri Jun 18 23:46:08 UTC 2010


I'm trying to extract productions of target words with onset clusters
(e.g., /pl/) and organize the output in a wide dataframe with age,
keyword (target), main tier and the %pho tier as column variables.
I've created a list of all relevant words in the child's lexicon using
FREQ, and run the list through KWAL with +d4 and +o%xpho, which gives
me something like the following.

<filename>	1475	grapes	*CHI:	Mommy eat grapes . %xpho: m6mI it grepsˈ
<filename>	1485	spoon	*CHI:	spoon . %xpho: ˈpun
<filename>	1520	please, plate	*CHI:	please pass me the plate . %xpho:
piz paes mI d6 plet
...

This is more or less what I'm looking for and I can convert the
filenames to age info. The only problem is that, by default, KWAL
organizes the output by main tiers, so if there are two or more hits
in a single utterance (like the 'please' and 'plate' example above),
the multiple hits are listed in one output. What I want is to have
these treated separately. In other words, I want each keyword hit
forming a row, like this example below (with the main tier and %pho
tier duplicated, as both hits come from the same utterance):

<filename>	1520	please	*CHI:	please pass me the plate . %xpho: piz
paes mI d6 plet
<filename>	1520	plate	  *CHI:	please pass me the plate . %xpho: piz
paes mI d6 plet

Is there a simple way to do this?

Thanks,

Mits

-- 
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 this group at http://groups.google.com/group/chibolts?hl=en.



More information about the Chibolts mailing list