powered by
Compute the size (in number of tokens) of the regions of a structural attribute.
region_sizes(attribute) # S3 method for cqp_attr region_sizes(attribute)
A cqp_attr (type: structural attribute) (created for instance with $.cqp_corpus).
$.cqp_corpus
An integer vector: for each region of this attribute, the number of tokens belonging to that region.
http://cwb.sourceforge.net/documentation.php
cqp_flist, cqp_ftable, cqp_kwic, corpus.
cqp_flist
cqp_ftable
cqp_kwic
corpus
# NOT RUN { c <- corpus("DICKENS"); s <- region_sizes(c$pos); # }
Run the code above in your browser using DataLab