Description Usage Arguments Value Author(s) References See Also Examples
Compute the size (in number of tokens) of the regions of a structural attribute.
1 2 3 | region_sizes(attribute)
## S3 method for class 'cqp_attr'
region_sizes(attribute)
|
attribute |
A cqp_attr (type: structural attribute) (created for instance with |
An integer vector: for each region of this attribute, the number of tokens belonging to that region.
Bernard Desgraupes - bernard.desgraupes@u-paris10.fr - University Paris-10.
Sylvain Loiseau - sylvain.loiseau@univ-paris13.fr - University Paris-13.
http://cwb.sourceforge.net/documentation.php
cqp_flist
,
cqp_ftable
,
cqp_kwic
,
corpus
.
1 2 3 4 5 | ## Not run:
c <- corpus("DICKENS");
s <- region_sizes(c$pos);
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.