powered by
Detect the name of the days (in French)
pr_detect_days(df, col)
a dataframe
the column containing the text
a tibble with the number of days detected by the algo
# NOT RUN { a <- data.frame(jours = c("C'est lundi 1er mars et mardi 2", "Et mercredi 3", "Il est revenu jeudi.")) pr_detect_days(a, jours) # }
Run the code above in your browser using DataLab