<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <title></title>
</head>
<body>
This works:<br>
run kwal +t* +s"dans" +d +o@ +t%cod +f  (gives all utterances with "dans")<br>
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<br>
Diane Pesco<br>
<br>
Christian Champaud wrote:<br>
<blockquote type="cite"
 cite="mid5.1.0.14.0.20040525151847.01f53698@mailhost.psycho.univ-paris5.fr">
  <font face="Arial, Helvetica">Dear Info-ChiBolts,<br>
  <br>
 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.<br>
 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” (<i>in</i>) 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).<br>
  <br>
 Hope my English is understandable,<br>
  <br>
 Christian.<br>
 </font></blockquote>
<br>
<pre class="moz-signature" cols="$mailwrapcol">--

Diane Pesco
School of Communication Sciences and Disorders
McGill University
<a class="moz-txt-link-abbreviated" href="mailto:dpesco2@po-box.mcgill.ca">dpesco2@po-box.mcgill.ca</a>
tel. 514-398-4102
fax. 514-398-8123
</pre>
<br>
</body>
</html>