Type-Token Ratio (TTR) Calculator

Calculate Type-Token Ratio (TTR)



Formula

The formula to calculate the Type-Token Ratio (TTR) is:

\[ \text{TTR} = \frac{\text{TYP}}{\text{TOK}} \]

Where:

What is Type-Token Ratio (TTR)?

The Type-Token Ratio (TTR) is a measure of lexical diversity within a given text. It is calculated by dividing the total number of unique words (types) by the total number of words (tokens) in the text. A higher TTR indicates greater lexical diversity.

Example Calculation

Let's consider an example:

Using the formula to calculate the Type-Token Ratio:

\[ \text{TTR} = \frac{150}{1000} = 0.1500 \]

This demonstrates that with 150 unique types and 1000 total tokens, the Type-Token Ratio would be 0.1500.