s_attr_regions: Get regions defined by a structural attribute
Description
Get all regions defined by a structural attribute. Unlike
get_region_matrix() that returns a region matrix for a defined subset of
strucs, all regions are returned. As it is the fastest option, the function
reads the binary *.rng file for the structural attribute directly. The corpus
library (CL) is not used in this case.
A two-colum matrix with the regions defined by the structural
attribute: Column 1 defines left corpus positions and column 2 right corpus
positions of regions.
Arguments
corpus
A length-one character vector with a corpus ID.
s_attr
A length-one character vector stating a structural attribute.
registry
A length-one character vector stating the registry
directory (defaults to CORPUS_REGISTRY environment variable).