<HTML>
<HEAD>
<TITLE>Re: kwal query</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Cathy,<BR>
<BR>
There are a few of ways to get what you want, but because kwal normally output the whole tier and not just text selected with +/-s option you need to be more specific about what exactly you want. Here is a small sample file that I'll use for the following examples:<BR>
<BR>
@Begin<BR>
@Participants: MOT Kelly Mother, JAM Target_Child<BR>
*JAM: test <english text> [@en] .<BR>
*JAM: <portuguese text> [@pt].<BR>
*JAM: <english> [@en] <portuguese> [@pt].<BR>
*MOT: mother's text.<BR>
*JAM: Mommy.<BR>
@End<BR>
<BR>
If you want ONLY Portuguese text in your output, then command "</SPAN></FONT><FONT SIZE="1"><FONT FACE="Arial Unicode MS"><SPAN STYLE='font-size:9pt'>kwal +t*jam +s"<@pt>" test.cha +d3 +d</SPAN></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>" will produce this result:<BR>
<BR>
>From file <test.cha><BR>
*JAM: <BR>
*JAM: <portuguese text> <BR>
*JAM: <portuguese> <BR>
*JAM: <BR>
<BR>
If you want the whole tier with ONLY Portuguese text, then command "</SPAN></FONT><FONT SIZE="2"><FONT FACE="Arial Unicode MS"><SPAN STYLE='font-size:10pt'>kwal +t*jam +s"[@pt]" test.cha +d" </SPAN></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>will produce this result:<BR>
<BR>
*JAM: <portuguese text> [@pt] .<BR>
*JAM: <english> [@en] <portuguese> [@pt] .<BR>
<BR>
Leonid.<BR>
<BR>
On 08-09-08 09:03, "Cathy Lonngren" <<a href="cathy.lonngren@googlemail.com">cathy.lonngren@googlemail.com</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Despite lots of attempts and experiments I am having problems getting the output I want when using KWAL on my bilingual files. Coded using <....>[@en] and <....[@pt] to separate the languages, when I use FREQ to get word lists using the following command line I get the output I desire i.e. the program performs analysis on only the Portuguese or English material of a particular speaker (e.g.JAM): freq @ +t*JAM +s"<@pt>" (gives me the Portuguese JAM uses) and freq @ +t*JAM +s"<@en>" (gives me the English he uses). These results indicate that my codes work. However, when I use KWAL in a similar way the program does not give me the lines with just the Portuguese or just the English, no matter which of the following command lines I use. With all these commands I get the same results (i.e all of JAM's utterances with no selection or exclusion being performed): kwal @ +t*JAM +s"<@pt>" kwal @ +t*JAM +s"<@en>" kwal @ +t*JAM -s"<@en>" Kwal @ +t*JAM -s"<@pt>"<BR>
<BR>
Three years ago I was able to use these commands and get the results I wanted. I have the latest version of CLAN installed and am thinking that something might have changed but if FREQ can understand my codes why can't KWAL. I hope that there is something simple I'm missing so I would appreciate any help. I've got an short example file I can send for testing.<BR>
<BR>
Thank you,<BR>
<BR>
Cathy<BR>
<BR>
Cathy Lonngren Sampaio<BR>
University of Hertfordshire<BR>
England<BR>
<BR>
<BR>
<BR>
</SPAN></FONT></BLOCKQUOTE>
<br>
--~--~---------~--~----~------------~-------~--~----~<br>
You received this message because you are subscribed to the Google Groups "chibolts" group. <br> To post to this group, send email to chibolts@googlegroups.com <br> To unsubscribe from this group, send email to chibolts+unsubscribe@googlegroups.com <br> For more options, visit this group at http://groups.google.com/group/chibolts?hl=en <br> -~----------~----~----~----~------~----~------~--~---<br>
</BODY>
</HTML>
<br>