Description Usage Arguments Value Examples
This function will create a concordance for a string or regex pattern
1 2 | makeConcordance(filtered_corpus, pattern = NULL, column = c("tagged",
"text"))
|
filtered_corpus |
a data.frame generated by searchCorpus or by calling command-line grep on the corpus files |
pattern |
a regex pattern. If you want to match full-word strings, just pad your string with the word boundary symbol |
column |
column to match the pattern against. The column 'text' contains the untagged text, the column 'text' contains the dependency-tagged text |
a data.frame with a conconcordance for your pattern added to the input data.frame
1 2 | this function can be combined with searchCorpus in a corpus-processing pipeline. For example: \code{concordance<-searchCorpus() %>%
makeConcordance() }
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.