Description Usage Arguments Value
View source: R/corplingr_freqlist_leipzig_citation.R
A function to retrieve a full-sentence citation for a match/pattern. This function can be used to check the full sentence in which a word/pattern occur in a corpus.
This can be a useful follow-up upon inspecting the wordlist results derived via freqlist_leipzig_each
function.
1 2 3 4 5 | freqlist_leipzig_citation(
pattern = NULL,
leipzig_path = "(full) filepath to Leipzig corpus files",
case_insensitive = TRUE
)
|
pattern |
regular expressions/strings of the target words/patterns. |
leipzig_path |
complete file path of the Leipzig corpora to search for full citation of the words/patterns of interest. |
case_insensitive |
whether to search case-insensitive pattern ( |
A tibble containing the info for 'corpus names', 'sentence number', 'node word', and 'sentence match'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.