region_matrix_to_struc_matrix {RcppCWB} | R Documentation |
Get min and max strucs of s-attribute present in region
Description
Look up the minimum and maximum struc of a s-attribute within a region,
including scenario of nested s-attributes. If there are no regions of the
s-attribute within the region, NA
values are returned.
Usage
region_matrix_to_struc_matrix(
corpus,
s_attribute,
region_matrix,
registry = NULL
)
region_to_strucs(corpus, s_attribute, region, registry = NULL)
Arguments
corpus |
ID of a CWB corpus. |
s_attribute |
Name of structural attribute. The attribute may be nested. |
region_matrix |
A two-column |
registry |
Path of the registry directory. If |
region |
Vector with left and right corpus position of region. |
Value
Depending whether input is a vector (argument region
) or a matrix
(argument region_matrix
), a vector or a matrix.
[Package RcppCWB version 0.6.4 Index]