This is just a convenient wrapper function for readability
.
LIX(txt.file, parameters = c(char = 6, const = 100), ...)
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
.
A numeric vector with named magic numbers, defining the relevant parameters for the index.
Further valid options for the main function,
see readability
for details.
An object of class kRp.readability
.
This function calculates the readability index ("l\"asbarhetsindex") by Bj\"ornsson. In contrast to readability
,
which by default calculates all possible indices,
this function will only calculate the index value.
This formula doesn't need syllable count.
Anderson, J. (1981). Analysing the readability of english and non-english texts in the classroom with Lix. In Annual Meeting of the Australian Reading Association, Darwin, Australia.
Anderson, J. (1983). Lix and Rix: Variations on a little-known readability index. Journal of Reading, 26(6), 490--496.
# NOT RUN {
LIX(tagged.text)
# }
Run the code above in your browser using DataLab