Description Usage Arguments Value Examples
View source: R/query_processing.R
query_corpus
performs a cqp_query and returns a list of position
values. If s_attr and s_attr_values are provided, restricts query to
structural attributes with given values.
1 | query_corpus(cqp_corpus, cqp_query, sattr = NULL, sattr_values = NULL)
|
cqp_query |
character with cqp query string. |
sattr |
character specifying s-attribute. |
sattr_values |
vector of s-attribute values. |
corpus |
corpus created with |
list of class query_result with match and matchend position values.
1 | ## Not run: query_corpus(my_corpus, '[word = "crisis"]')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.