[CWB] Counting tokens with a given s-attribute

Scott Sadowsky ssadowsky at gmail.com
Tue Mar 22 06:31:01 CET 2022


I have a corpus which is divided into de facto subcorpora using an
s-attribute, and I need to count the number of tokens in each subcorpus.
Are there any issues with doing this by searching for [word=".+"] while
selecting each of the s-attribute values and using the number of matches
returned as the token count? Is there a better way to do this (ideally, one
which would return all the match counts at once)?

Thanks in advance,
Scott
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20220322/dd8ae1ae/attachment.html>


More information about the CWB mailing list