Description Usage Arguments Author(s) Examples
Post query to the Abkhaz Text Corpus (http://baltoslav.eu/apsua/index.php, 2,010,052 words). Don't forget to check main page for advanced query language.
1 | abk_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 | abk_corpus("бызшәа")
abk_corpus("*омызт")
abk_corpus("бызшәа", n_results = 13)
abk_corpus("аҧс(ацәа|уаа)", kwic = F)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.