Count combinations of codes in the same tier

Leonid Spektor spektor at andrew.cmu.edu
Mon Jul 29 14:47:04 UTC 2024


Hi Melania,

	From your example output it looks like you want each %ref tier to be treated as one file. So, each %ref tier gets one row in the output. Currently, as you have noticed, the whole file gets a row in the output.

At this time FREQ can't do what you want. But, it might be possible to change FREQ to do what you want. I will let you know if it can be done.

Are you using Mac or Windows PC computer?


Leonid.

> On Jul 29, 2024, at 09:06, Melania S. Masià <melaniasanchezmasia at gmail.com> wrote:
> 
> Hi everyone,
> 
> 
> I have coded the use of referential expressions in a %ref tier. This tier includes seven codes with different values. When I use FREQ to extract the data, I get counts for each code and value per file, as expected (that is, a row for each file in the CSV file). However, I need the counts for the combinations of codes. I have seen in this conversation <https://groups.google.com/g/chibolts/c/iPRbTYqcE7Y/m/QdSzGJhnBAAJ> that wildcards can be used to generate counts of combinations, but that seems rather complicated with seven different codes. Is there a way to make each line of the %ref tier an observation and extract that data independently of the rest of the %ref lines in the file?
> 
> I've attached a minimal example and the desired CSV output in case it makes clearer what I mean. Thanks in advance!
> 
> Melania
> 
> 
> -- 
> 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/7a05605c-7044-40f4-a197-252dc70aed3an%40googlegroups.com <https://groups.google.com/d/msgid/chibolts/7a05605c-7044-40f4-a197-252dc70aed3an%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.
To view this discussion on the web visit https://groups.google.com/d/msgid/chibolts/FFC0DF94-94CB-4C8F-A3E3-26A630B9EF7D%40andrew.cmu.edu.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/chibolts/attachments/20240729/c49583a2/attachment-0003.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ref_minimal_example.cha
Type: text/chat
Size: 690 bytes
Desc: not available
URL: <http://listserv.linguistlist.org/pipermail/chibolts/attachments/20240729/c49583a2/attachment-0001.bin>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/chibolts/attachments/20240729/c49583a2/attachment-0004.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ref_minimal_example.xlsx
Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Size: 9769 bytes
Desc: not available
URL: <http://listserv.linguistlist.org/pipermail/chibolts/attachments/20240729/c49583a2/attachment-0001.xlsx>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/chibolts/attachments/20240729/c49583a2/attachment-0005.htm>


More information about the Chibolts mailing list