KWAL ignoring repetitions
Leonid Spektor
spektor at andrew.cmu.edu
Thu Aug 17 14:22:04 UTC 2017
Brie,
The command you used is supposed to output your example tier, because the command line includes search for word "dress" and this word is not followed by [* ...] code or is in [: ...]. The same command for FREQ "freq -sm** -sm@* +s"n|fairy" +s"n|dress" +t*PAR @" would also output word "n|dress". The reason it did not output word "dress" using your command with "+sdress" option is because the word "dress" does not exist on %mor tier, so by pure luck your "+sdress" option did not find that word.
One thing to remember is that KWAL will output tiers even if only one of word specified with +s option is located on the tier. if you want to exclude tiers that have either one of the specified words, then you need a different command line.
As best as I understand you search criteria I think one of the following commands will work for you:
This command will still output example tier because the word "dress" is not an error or a target replacement.
kwal -s<\**> -r5 +sfairy +sdress +t*PAR kwal.cha
If you want to exclude tier if ether one of the words is found on it, then you need two sequential command:
kwal -2 +o@ -s<\**> -r5 +sdress +t*PAR +f +d @
kwal +d4 -s<\**> -r5 +sfairy +t*PAR *kwal.cex
If you have more questions about how to customize command best for your requirements, then please email to me directly.
Leonid.
> On Aug 17, 2017, at 08:41, Brielle Stark <brielle.stark at gmail.com> wrote:
>
> Hi there,
>
> I'm running KWAL for selected content words in a sample. I do not want to include any word specified as a target [: target] or as a coded error [* s] or [* phon]. For other analyses (in freq), we've used -sm@* and -sm** to specify this. I tried to use this same specification for KWAL analysis but the output still considered words within targets.
>
> For instance:
> kwal +d4 -sm** -sm@* +sfairy +sdress +t*PAR @
>
> and output line for a person's transcript was:
>
> but the fowry [: fairy] [* phon] took [* s] a dress
> %mor: conj|but det:art|the n|fairy v|take&PAST det:art|a n|dress .
>
> Is there any way to tell KWAL to ignore what is in the target brackets and also to ignore any word followed by an error code? Many thanks,
>
> Brie
>
> --
> Brielle Stark, PhD
> Post Doctoral Fellow in Communication Sciences and Disorders, University of South Carolina
> t: +1 803-777-9240, alternate email: stark2 at mailbox.sc.edu <mailto:stark2 at mailbox.sc.edu>
> Aphasia Lab: http://web.asph.sc.edu/aphasia/ <http://web.asph.sc.edu/aphasia/>
> Center for the Study of Aphasia Recovery: http://web.asph.sc.edu/cstar/ <http://web.asph.sc.edu/cstar/>
>
> --
> You received this message because you are subscribed to the Google Groups "chibolts" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to chibolts+unsubscribe at googlegroups.com <mailto:chibolts+unsubscribe at googlegroups.com>.
> To post to this group, send email to chibolts at googlegroups.com <mailto:chibolts at googlegroups.com>.
> To view this discussion on the web visit https://groups.google.com/d/msgid/chibolts/CAEs2yToKJjXkzm-DJTOpBg9eSYT0XaOaGSxCvWuSq-AADRKGFw%40mail.gmail.com <https://groups.google.com/d/msgid/chibolts/CAEs2yToKJjXkzm-DJTOpBg9eSYT0XaOaGSxCvWuSq-AADRKGFw%40mail.gmail.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout <https://groups.google.com/d/optout>.
--
You received this message because you are subscribed to the Google Groups "chibolts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chibolts+unsubscribe at googlegroups.com.
To post to this group, send email to chibolts at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/chibolts/B6B732E2-5CF1-4918-9413-AFD5AE0204B6%40andrew.cmu.edu.
For more options, visit https://groups.google.com/d/optout.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/chibolts/attachments/20170817/77d5df98/attachment.htm>
More information about the Chibolts
mailing list