readability
.harris.jacobson(txt.file, word.list,
parameters = c(char = 6),
hj1 = c(dword = 0.094, asl = 0.168, const = 0.502),
hj2 = c(dword = 0.14, asl = 0.153, const = 0.56),
hj3 = c(asl = 0.158, lword = 0.055, const = 0.355),
hj4 = c(dword = 0.07, asl = 0.125, lword = 0.037, const = 0.497),
hj5 = c(dword = 0.118, asl = 0.134, lword = 0.032, const = 0.424),
...)
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, creadability
for
details.kRp.readability-class
.readability
, which by
default calculates all possible indices, this function
will only calculate the index values.This formula doesn't need syllable count.
harris.jacobson(tagged.text, word.list=harris.jacobson.wl)
Run the code above in your browser using DataLab