This is just a convenient wrapper function for readability
.
farr.jenkins.paterson(
txt.file,
hyphen = NULL,
parameters = c(const = -31.517, asl = 1.015, monsy = 1.599),
...
)
Either an object of class kRp.text
,
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
.
An object of class kRp.hyphen. If NULL
,
the text will be hyphenated automatically.
A numeric vector with named magic numbers,
defining the relevant parameters for the index, or "PSK"
.
Further valid options for the main function,
see readability
for details.
An object of class kRp.readability
.
Calculates the Farr-Jenkins-Paterson index, a simplified version of Flesch Reading Ease.
In contrast to readability
,
which by default calculates all possible indices,
this function will only calculate the index value.
If parameters="PSK"
, the revised parameters by Powers-Sumner-Kearl (1958) are used.
Farr, J.N., Jenkins, J.J. & Paterson, D.G. (1951). Simplification of Flesch Reading Ease formula. Journal of Applied Psychology, 35(5), 333--337.
Powers, R.D, Sumner, W.A, & Kearl, B.E. (1958). A recalculation of four adult readability formulas, Journal of Educational Psychology, 49(2), 99--105.
# NOT RUN {
farr.jenkins.paterson(tagged.text)
# }
Run the code above in your browser using DataLab