powered by
This is just a convenient wrapper function for lex.div.
lex.div
MSTTR(txt, segment = 100, ...)
An object of either class kRp.tagged-class or kRp.analysis-class, containing the tagged text to be analyzed.
kRp.tagged-class
kRp.analysis-class
An integer value, defining how many tokens should form one segment.
Further valid options for the main function, see lex.div for details.
An object of class kRp.TTR-class.
kRp.TTR-class
This function calculates the mean segmental type-token ratio (MSTTR). In contrast to lex.div, which by default calculates all possible measures and their progressing characteristics, this function will only calculate the MSTTR value.
kRp.POS.tags, kRp.tagged-class, kRp.TTR-class
kRp.POS.tags
# NOT RUN { MSTTR(tagged.text) # }
Run the code above in your browser using DataLab