compute_msttr {quanteda.textstats}R Documentation

Compute the Mean Segmental Type-Token Ratio (MSTTR)

Description

Compute the Mean Segmental Type-Token Ratio (Johnson 1944) for a tokens input.

Usage

compute_msttr(x, MSTTR_segment)

Arguments

x

input tokens

MSTTR_segment

a numeric value defining the size of the each segment for the computation of the the Mean Segmental Type-Token Ratio (Johnson, 1944)


[Package quanteda.textstats version 0.97.2 Index]