checking codes

Diane Pesco dpesco2 at po-box.mcgill.ca
Tue May 25 14:42:18 UTC 2004


This works:
run kwal +t* +s"dans" +d +o@ +t%cod +f  (gives all utterances with "dans")
then run kwal +d +o@ +t%cod -s"$*:*:dans:*" filename.kwa.cex (adjust the
number of asterisks and position of "dans" to match your data and
eliminate the $ if you are not using it; the output will now show only
the utterance with"dans" that have *other* codes in the "dans" position.
 You can also do two kwals together (piping) ... but I always try the
simple commands first then readjust for piping
Diane Pesco

Christian Champaud wrote:

> Dear Info-ChiBolts,
>
> We are in the process of coding transcriptions of French-speaking and
> bilingual children in order to study the development of some spatial
> expressions. I would be glad to check if some words, which appear in
> the productions (the main line), were not forgotten in the coding
> tier, and, if it was the case, to retrieve the lines and correct them.
> As I was not entirely successful in my previous attempts, it would be
> helpful for us if some of you can suggest a way to cope with this problem.
> Our coding tier %cod is hierarchical and made up of ten levels or
> fields separated by colons. Levels code several things like the
> situation, the verb, the possible expression of a figure and a ground,
> etc. For instance, the fifth level codes some spatial expressions like
> prepositions and adverbs: the occurrence of the French preposition
> "dans" (in) will be coded "...:SEP|dans:...", "SEP" standing for
> "Spatial Expression, Preposition". So, I want to retrieve
> automatically (with combo or kwal and pipes) all the main lines
> containing "dans" where the dependent tier %cod does not contain
> "SEP|dans" as its fifth level, and only these lines. So far, I had
> difficulties to specify properly this last constraint (I tried with
> "!", but perhaps I made errors specifying its scope).
>
> Hope my English is understandable,
>
> Christian.


--

Diane Pesco
School of Communication Sciences and Disorders
McGill University
dpesco2 at po-box.mcgill.ca
tel. 514-398-4102
fax. 514-398-8123


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/chibolts/attachments/20040525/c5b6d6ff/attachment.htm>


More information about the Chibolts mailing list