Description Usage Arguments See Also
Convert various input as pattern to a vector used in tokens_select, tokens_compound and kwic.
1 2 3 4 5 6 7 8 9 10 | pattern2list(
x,
types,
valuetype,
case_insensitive,
concatenator = "_",
levels = 1,
remove_unigram = FALSE,
keep_nomatch = FALSE
)
|
valuetype |
the type of pattern matching: |
case_insensitive |
logical; if |
concatenator |
concatenator that join multi-word expression in tokens object |
levels |
only used when pattern is a dictionary |
remove_unigram |
ignore single-word patterns if |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.