readability
.
flesch(txt.file, hyphen = NULL, parameters = c(const = 206.835, asl = 1.015, asw = 84.6), ...)
kRp.tagged-class
,
a character vector which must be be
a valid path to a file containing the text to be analyzed,
or a list of text features. If the latter, calculation
is done by readability.num
.NULL
,
the text will be hyphenated automatically."de"
,
"es"
, "nl"
, "fr"
).readability
for details.kRp.readability-class
.
readability
,
which by default calculates all possible indices,
this function will only calculate the Flesch RE value.Certain internationalisations of the parameters are also implemented. They can be used by setting
parameters
to "es"
(Fernandez-Huerta), "es-s"
(Szigriszt),
"nl"
(Douma),
"nl-b"
(Brouwer), "de"
(Amstad) or "fr"
(Kandel-Moles).
If parameters="PSK"
, the revised parameters by Powers-Sumner-Kearl (1958) are used
to calculate a grade level.
flesch.kincaid
for grade levels,
farr.jenkins.paterson
for a simplified Flesch formula.
## Not run:
# flesch(german.tagged.text, parameters="de")
# ## End(Not run)
Run the code above in your browser using DataLab