Rcpp wrappers for CWB Corpus Library functions
attribute_size(corpus, attribute, attribute_type, registry)
cpos2str(corpus, p_attribute, registry, cpos)
cpos2id(corpus, p_attribute, registry, cpos)
struc2cpos(corpus, s_attribute, registry, struc)
id2str(corpus, p_attribute, registry, id)
The ID of a CWB corpus.
Either a positional, or a structural attribute.
Either "p" (positional attribute) or "s" (structural attribute).
Path to the corpus registry.
A positional attribute.
An integer vector of corpus positions.
A structural attribute.
An integer value with struc.
An integer
vector with token ids.