Description Usage Arguments Details Value Examples
View source: R/text_prep_multiword_phrases.R
This function removes spaces from multi-word phrases, so they will be treated as a single word. This can be helpful when there are domain-specific multi-word phrases that you want to analyse as one term. Apply this function to your free-text columns before unnesting words.
1 | text_prep_multiword_phrases(text_col, multiword_list = c(""))
|
text_col |
string vector (or dataframe column) |
multiword_list |
vector of multi-word phrases you want to treat as |
Returns multi-word phrases as a single word in PascalCase.
string vector with multi-word phrases replaced in PascalCase
1 | text_prep_multiword_phrases(c("test this", "not a test"), multiword_list = c("test this"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.