pr_detect_pro

0th

Percentile

Detect French pronoums

Detect the pronouns from a text (in French)

Usage
pr_detect_pro(df, col, verbose = FALSE)
Arguments
df

a dataframe

col

the column containing the text

verbose

wether or not to return the list of pronouns. Defaults is FALSE

Details

The shortcuts in the pronoun col stand for:

pps: first person singular (premi<U+00E8>re personne du singulier)

dps: second person singular (deuxi<U+00E8>me personne du singulier)

tps: third person singular (troisi<U+00E8>me personne du singulier)

ppp: first person plural (premi<U+00E8>re personne du pluriel)

dpp: second person singular (deuxi<U+00E8>me personne du pluriel)

tpp: third person singular (troisi<U+00E8>me personne du pluriel)

Value

a tibble with the detected pronouns

Aliases
  • pr_detect_pro
Examples
# NOT RUN {
library(proustr)
a <- proust_books()[1,] 
pr_detect_pro(a, text, verbose = TRUE)
pr_detect_pro(a, text)
# }
Documentation reproduced from package proustr, version 0.2.1, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.