Lexical diversity: Mean Segmental Type-Token Ratio (MSTTR)

Share:

Description

This is just a convenient wrapper function for lex.div.

Usage

1
MSTTR(txt, segment = 100, ...)

Arguments

txt

An object of either class kRp.tagged-class or kRp.analysis-class, containing the tagged text to be analyzed.

segment

An integer value, defining how many tokens should form one segment.

...

Further valid options for the main function, see lex.div for details.

Details

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.

Value

An object of class kRp.TTR-class.

See Also

kRp.POS.tags, kRp.tagged-class, kRp.TTR-class

Examples

1
2
3
4
## Not run: 
MSTTR(tagged.text)

## End(Not run)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.