powered by
Vectorized version that calculates readability indices for multiple texts.
readability_multiple(texts, detailed = FALSE, text_id = NULL)
A tibble with one row per text, including text_id if provided
Character vector containing texts to analyze
Logical, if TRUE returns detailed statistics along with indices
Optional character vector with identifiers for each text
if (FALSE) { texts <- c("First text here.", "Second text is longer and more complex.") ids <- c("doc1", "doc2") readability_multiple(texts, text_id = ids, detailed = TRUE) }
Run the code above in your browser using DataLab