powered by
This is just a convenient wrapper function for lex.div.
lex.div
MSTTR(txt, segment = 100, ...)
An object of class kRp.text containing the tagged text to be analyzed.
kRp.text
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.
kRp.TTR
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.text, kRp.TTR
kRp.POS.tags
# NOT RUN { MSTTR(tagged.text) # }
Run the code above in your browser using DataLab