Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MATTR metric #71

Open
ndaheim opened this issue Nov 9, 2021 · 0 comments
Open

MATTR metric #71

ndaheim opened this issue Nov 9, 2021 · 0 comments
Assignees
Labels
new-metric-light Adding a lightweight metric

Comments

@ndaheim
Copy link
Contributor

ndaheim commented Nov 9, 2021

https://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.248.5206&rep=rep1&type=pdf

While MSTTR calculates TTR for non-overlapping segments, MATTR uses a sliding window.

Easy to implement and doesn't suffer from segments being disregarded as is the case in MSTTR (for example, text length 19, window size 10 means that only the first 10 tokens are considered).

@ndaheim ndaheim self-assigned this Nov 9, 2021
@madaan madaan added the new-metric-light Adding a lightweight metric label Dec 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-metric-light Adding a lightweight metric
Projects
None yet
Development

No branches or pull requests

2 participants