lex.div
. It does not analyze text,
but takes the numbers of tokens and types directly to calculate measures for which this information is sufficient:
"TTR"
{The classicType-Token Ratio"C"
"R"
"CTTR"
"U"
"S"
"Maas"
lex.div.num(num.tokens, num.types, measure = c("TTR", "C", "R", "CTTR", "U",
"S", "Maas"), log.base = 10, quiet = FALSE)
log
for details.FALSE
, short status messages will be shown.
TRUE
will also suppress all potential warnings regarding the validation status of measures.kRp.TTR-class
.lex.div
Tweedie. F.J. & Baayen, R.H. (1998). How Variable May a Constant Be? Measures of Lexical Richness in Perspective. Computers and the Humanities, 32(5), 323--352.
lex.div