Counting frequency of codes per transcript

Linda Andreev linda_andreev at g.harvard.edu
Mon Sep 9 09:49:42 UTC 2024


Hello!

I've been searching for a command that counts the occurrence of codes per 
transcript in a dataset. The codebook spans four categories (each category 
is a separate tier in CLAN), with each tier having its own set of codes and 
subcodes. Not finding such a command, I tried the following to count the 
occurrences of a single code in the dataset (INS:PRO is the code; TEA is 
the speaker; *2023* is in every transcript title in the folder): freq 
+t*TEA +s"<INS:PRO>" +t%xtyp *2023*

However, the output shows 0 for every file even though each transcript was 
coded with INS:PRO many times. I also tried variations with the +f and +d 
commands to try to get a spreadsheet of the data without success.

Could you recommend any revisions to the code or to the approach? Any 
guidance would be greatly appreciated!

Cheers,
Linda

-- 
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/a3cb82ee-e8fa-471d-828c-319e92235b59n%40googlegroups.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/chibolts/attachments/20240909/fcc8b9ba/attachment.htm>


More information about the Chibolts mailing list