Description Usage Arguments Value Author(s) References See Also Examples
Get vectors of tokens or types for a cqp attribute.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | ntype(attribute, ...)
types(attribute, ...)
nregion(attribute, ...)
regions(attribute, ...)
ntoken(attribute, ...)
tokens(attribute, ...)
## S3 method for class 'cqp_attr'
ntype(attribute, ...)
## S3 method for class 'cqp_attr'
types(attribute, ...)
## S3 method for class 'cqp_attr'
nregion(attribute, ...)
## S3 method for class 'cqp_attr'
regions(attribute, ...)
## S3 method for class 'cqp_attr'
ntoken(attribute, ...)
## S3 method for class 'cqp_attr'
tokens(attribute, ...)
|
attribute |
A |
... |
Ignored. |
For positional attributes :
ntoken is the number of tokens (== size(corpus))
tokens is a character vector with the actual list of tokens
ntype is the number of different values
types is a character vector with the actual different values
For structural attributes :
nregion is the actual number of regions (a numeric vector of length 1)
tokens the region id ("struc") of each token (a numeric vector)
regions (only if the structural attribute "has values") : the values found on each region (a character vector)
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
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.