Description Usage Arguments Author(s) Examples
Post query to the Avar Text Corpus (http://baltoslav.eu/avar/index.php, 2,000,693 words). Don't forget to check main page for advanced query language.
1 | ava_corpus(query, n_results = 20, kwic = TRUE, write = FALSE)
|
query |
Vector of length 1 which contain query. |
n_results |
Integer. Defines number of examples from the corpus. By default is 10 |
kwic |
Logical. KWIC (key word in context) is the format for resulted lines. If TRUE, then it returns a dataframe with query in the middle and left and right contexts. If FALSE, then it returns each result in one string. By default is TRUE. |
write |
This argument writes a file in the working derictory (see function getwd() and setwd() for more information). If FALSE, then it creates a dataframe in Global Environment. Otherwise function writes a .tsv file with the name frome the argument value. By default is FALSE. |
George Moroz <agricolamz@gmail.com>
1 2 3 4 | ava_corpus("магIарул")
ava_corpus("магIарул*")
ava_corpus("ва(ц|с)азе", n_results = 13)
ava_corpus("(чIужу|руччаби)", kwic = F)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.