Description Usage Arguments Details Value Examples
Print a concordance in KWIC format.
1 2 3 4 5 6 7 8 9 10 |
x |
a dataset |
min_c_left |
minimum size, expressed in number of characters, of the left co-text in the KWIC display. |
max_c_left |
maximum size, expressed in number of characters, of the left co-text in the KWIC display. |
min_c_match |
minimum size, expressed in number of characters, of the match in the KWIC display. |
max_c_match |
maximum size, expressed in number of characters, of the match in the KWIC display. |
min_c_right |
minimum size, expressed in number of characters, of the right co-text in the KWIC display. |
max_c_right |
maximum size, expressed in number of characters, of the right co-text in the KWIC display. |
from |
index of first item in |
n |
number of consecutive items in |
drop_tags |
boolean: hide tags in data? |
This procedure assumes that x
is either an object of the class
conc
or any other data frame that contains textual data in three
columns named left
, match
, and right
.
Invisibly returns x
.
1 2 | (conc_data <- conc_re('\\w+', 'A very small corpus.', as_text = TRUE))
print_kwic(conc_data)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.