Flesch reading ease and Flesch-Kincaid grade for English; the Szigriszt-Pazos perspicuity index for Spanish, with its INFLESZ band. Syllables are counted with rules, which are approximate for English.
Usage
sc_readability(text, lang = c("en", "es"))Examples
sc_readability("The cat sat on the mat. It was happy.")
#> $sentences
#> [1] 2
#>
#> $words
#> [1] 9
#>
#> $syllables
#> [1] 10
#>
#> $reading_ease
#> [1] 108.3
#>
#> $band
#> [1] "very easy"
#>
#> $grade
#> [1] -0.7
#>
sc_readability("El gato se sienta en la alfombra. Estaba contento.", lang = "es")
#> $sentences
#> [1] 2
#>
#> $words
#> [1] 9
#>
#> $syllables
#> [1] 17
#>
#> $reading_ease
#> [1] 84.7
#>
#> $band
#> [1] "muy fácil"
#>
#> $grade
#> [1] NA
#>