Obtaining a list of words following an error mention

Leonid Spektor spektor at andrew.cmu.edu
Fri Aug 9 15:16:27 UTC 2024


Try commands that I recommended in my previous email. For example:

freq +o3 +s"0det *" +c7 *.cha

will give you output:

1 0det dog

Note that +s option has (0det) followed by a space character  followed by (*) character surrounded by double quotes (") character.


Leonid.

> On Aug 7, 2024, at 10:12, Fagniart Sophie <sophie.fagniart at gmail.com> wrote:
> 
> Thank you for your response.
> 
> This code:
> 
> freq +o3 +s"0det" *.cha @
> had already worked and allowed me to get the number of occurrences of the targeted error. However, I would like to obtain, for each subject, the list of words that follow this error.
> 
> For example:
> 
> CHI* : 0det dog
> To have, in the form of a table or a list, all the words that followed this error (in the example "dog"), per transcription.
> 
> Is this possible? 
> 
> Thank you in advance.
> 
> 
> Le mer. 7 août 2024 à 15:13, Leonid Spektor <spektor at andrew.cmu.edu <mailto:spektor at andrew.cmu.edu>> a écrit :
>> Hi Sophie,
>> 
>> 	There are numerous ways to do it. Here are some commands that you can try:
>> 
>> freq +s"0_* *" +c7 *.cha
>> freq +o3 +s"0_* *" +c7 *.cha
>> 
>> add +d option to show where in the file those items occur
>> add +f option to save results to an output file
>> add +u option to get combined results for all files
>> 
>> 
>> 
>> Leonid.
>> 
>>> On Aug 7, 2024, at 08:13, sophie.fagniart at gmail.com <mailto:sophie.fagniart at gmail.com> wrote:
>>> 
>>> Hello everyone,
>>> 
>>> I am looking for a procedure that would allow me to display all the words following a specific error mention. More precisely, I would like to be able to go through all my transcripts and obtain a list of all words following a mention of omission "0det" in the %CHI tier, if possible, per transcript. Does such a formula exist?
>>> 
>>> Thank you in advance for your help.
>>> 
>>> Best regards,
>>> 
>>> Sophie Fagniart
>>> 
>>> -- 
>>> 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 view this discussion on the web visit https://groups.google.com/d/msgid/chibolts/5533401b-ff7d-408f-93b6-82a7cab279f2n%40googlegroups.com <https://groups.google.com/d/msgid/chibolts/5533401b-ff7d-408f-93b6-82a7cab279f2n%40googlegroups.com?utm_medium=email&utm_source=footer>.
>> 
>> 
>> -- 
>> 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 view this discussion on the web visit https://groups.google.com/d/msgid/chibolts/A18CC933-A461-4DD9-8293-776A269EC54A%40andrew.cmu.edu <https://groups.google.com/d/msgid/chibolts/A18CC933-A461-4DD9-8293-776A269EC54A%40andrew.cmu.edu?utm_medium=email&utm_source=footer>.
> 
> 
> -- 
> 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 view this discussion on the web visit https://groups.google.com/d/msgid/chibolts/CAEz7kUweRTYpnapeQLsPNcrug5YKC6JcTaN7PuAhHQEkCjxt2A%40mail.gmail.com <https://groups.google.com/d/msgid/chibolts/CAEz7kUweRTYpnapeQLsPNcrug5YKC6JcTaN7PuAhHQEkCjxt2A%40mail.gmail.com?utm_medium=email&utm_source=footer>.

-- 
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 view this discussion on the web visit https://groups.google.com/d/msgid/chibolts/5A2F2272-4B48-41AE-B03D-6D85E505DE70%40andrew.cmu.edu.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/chibolts/attachments/20240809/e06a30ee/attachment-0001.htm>


More information about the Chibolts mailing list