lex.div.
MTLD(txt, factor.size = 0.72, min.tokens = 9, detailed = FALSE, char = FALSE, MA = FALSE, ...)kRp.tagged-class or kRp.analysis-class,
containing the tagged text to be analyzed.lex.div for details.kRp.TTR-class.
lex.div,
which by default calculates all possible measures and
their progressing characteristics, this function will only calculate the MTLD value,
and characteristics are
off by default.If you set MA=TRUE,
the newer MTLD-MA (moving-average method) is used instead of the classic MTLD.
kRp.POS.tags,
kRp.tagged-class, kRp.TTR-class
## Not run:
# MTLD(tagged.text)
# ## End(Not run)
Run the code above in your browser using DataLab