Count combinations of codes in the same tier

Melania S. Masià melaniasanchezmasia at gmail.com
Mon Jul 29 13:06:14 UTC 2024



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.
To view this discussion on the web visit https://groups.google.com/d/msgid/chibolts/7a05605c-7044-40f4-a197-252dc70aed3an%40googlegroups.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/chibolts/attachments/20240729/8a216331/attachment.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/8a216331/attachment.bin>
-------------- 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/8a216331/attachment.xlsx>


More information about the Chibolts mailing list