powered by
Size of a corpus (number of tokens) or size of a subcorpus (number of matches).
size(x)# S3 method for cqp_corpus size(x)# S3 method for cqp_subcorpus size(x)
# S3 method for cqp_corpus size(x)
# S3 method for cqp_subcorpus size(x)
A cqp_corpus object (created with the function corpus) or a cqp_subcorpus object (created with the function subcorpus)
cqp_corpus
corpus
cqp_subcorpus
subcorpus
An integer vector of length 1: the number of tokens if x is a corpus or the number of matches if it is a subcorpus.
x
http://cwb.sourceforge.net/documentation.php
corpus, subcorpus, summary.cqp_corpus, summary.cqp_subcorpus.
summary.cqp_corpus
summary.cqp_subcorpus
# NOT RUN { c <- corpus("DICKENS"); size(c); sc <- subcorpus(c, '"interesting"'); size(sc); # }
Run the code above in your browser using DataLab