View source: R/cqp_interface.R
query_cqp | R Documentation |
A convenience wrapper generating system()
calls to cqp -c
Requires a working installation of cwb
query_cqp(query, corpus = NULL, n = 5, path = NULL)
query |
character string with the cqp commands to be used
if multiple commands are stringed together, |
corpus |
character optionally provide corpus to be used |
n |
integer left and right context |
path |
name of the file to save the results to |
## Not run: cqp_query <- '"example"' query_cqp(cqp_query, "BROWN") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.