View source: R/pr_detect_pronouns.R
| pr_detect_pro | R Documentation |
Detect the pronouns from a text (in French)
pr_detect_pro(df, col, verbose = FALSE)
df |
a dataframe |
col |
the column containing the text |
verbose |
wether or not to return the list of pronouns. Defaults is FALSE |
The shortcuts in the pronoun col stand for:
pps: first person singular (première personne du singulier)
dps: second person singular (deuxième personne du singulier)
tps: third person singular (troisième personne du singulier)
ppp: first person plural (première personne du pluriel)
dpp: second person singular (deuxième personne du pluriel)
tpp: third person singular (troisième personne du pluriel)
a tibble with the detected pronouns
library(proustr)
a <- proust_books()[1,]
pr_detect_pro(a, text, verbose = TRUE)
pr_detect_pro(a, text)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.