Excluding utterances on PAR line
Leonid Spektor
spektor at andrew.cmu.edu
Thu Dec 20 19:10:56 UTC 2018
Post-codes are an exception to regular codes. If you want to exclude data associated with post-codes, then you need these options:
-s"[+ exc]" -s"[+ per]" -s"[+ jargon]"
if you want to exclude post-code's codes themselves, i.e. "[+ exc]", "[+ per]" and "[+ jargon]", which is redundant, because they are excluded by default anyway, then you need these options:
-s"<+ exc>" -s"<+ per>" -s"<+ jargon>"
Post-codes and pre-codes are treated differently than regular codes. If you are not sure, then I would suggest to just type a command, like FREQ, by itself in commands window and you will get quick description of what those options do. For example, if you type FREQ, then under line "+sS: search for word S in an input file." you will see description of differences between codes and post-codes.
Leonid.
> On Dec 20, 2018, at 13:19, brielle.stark <brielle.stark at gmail.com> wrote:
>
> Thanks. I tried as the FREQ command said, with;
>
> freq +d2 *.cha -s"<+ exc>" -s"<+ per>" -s"<+ jargon>" +t*PAR
> eval +t*PAR +u &.cha
>
> when I did this, I got different utterance counts, which makes me think that the FREQ exclusion did not work.
>
> I appreciate your help, thanks.
>
> On Tuesday, December 18, 2018 at 11:35:49 AM UTC-5, Leonid Spektor wrote:
> Yes, you need to specify post-codes to make FREQ exclude or include utterances with that post-code.
>
>
> Leonid.
>
>> On Dec 18, 2018, at 09:47, brielle.stark <briell... at gmail.com <javascript:>> wrote:
>>
>> Do I need to specify to exclude [+ exc] with 'freq'?
>>
>> On Tuesday, December 18, 2018 at 9:46:58 AM UTC-5, brielle.stark wrote:
>> Perfect, thanks!
>>
>> On Monday, December 17, 2018 at 10:18:50 PM UTC-5, Leonid Spektor wrote:
>> Brie,
>>
>> EVAL, KIDEVAL and few other commands automatically excludes utterances marked with "[+ exc]" post-code. You do not need to specify it on the command line. The reason you got an error message is because we do not want post-codes used to include or exclude any other utterances by mistake.
>>
>>
>> Leonid.
>>
>>> On Dec 17, 2018, at 14:21, brielle.stark <briell... at gmail.com <>> wrote:
>>>
>>> Hi there. I'm trying to exclude utterances on the PAR line tagged with + exc. According to the manual, and to the eval command, I've been doing:
>>>
>>> eval +t*PAR -s"[+ exc]" +u *.cha
>>>
>>> Am I doing something incorrect? Feedback from CLAN:
>>>
>>> Please specify only precodes "[- ...]" with +/-s option.
>>>
>>> Thank you very much!
>>>
>>> Brie
>>>
>>> --
>>> 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+u... at googlegroups.com <>.
>>> To post to this group, send email to chib... at googlegroups.com <>.
>>> To view this discussion on the web visit https://groups.google.com/d/msgid/chibolts/a221cf94-1a72-43b4-97b6-97c9ca4a828e%40googlegroups.com <https://groups.google.com/d/msgid/chibolts/a221cf94-1a72-43b4-97b6-97c9ca4a828e%40googlegroups.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+u... at googlegroups.com <javascript:>.
>> To post to this group, send email to chib... at googlegroups.com <javascript:>.
>> To view this discussion on the web visit https://groups.google.com/d/msgid/chibolts/6d9619d2-8838-4e92-a35b-cf7927683318%40googlegroups.com <https://groups.google.com/d/msgid/chibolts/6d9619d2-8838-4e92-a35b-cf7927683318%40googlegroups.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 <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/c1acd1b9-38bb-432a-aeee-334807a7fd19%40googlegroups.com <https://groups.google.com/d/msgid/chibolts/c1acd1b9-38bb-432a-aeee-334807a7fd19%40googlegroups.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/C1B2B69A-EE5B-43AD-9D25-0E9F88E76EB7%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/20181220/e2c4e443/attachment.htm>
More information about the Chibolts
mailing list