-
Notifications
You must be signed in to change notification settings - Fork 6
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
Implement Guiraud’s Index #26
Labels
Milestone
Comments
Looking into this now; would you suggest adding this as a function to a pre-existing file or creating a separate one? |
Hello! Sure, this should go into |
Thanks! I just pushed the code to #49 . Im going to have to do some more research on github, getting lost if ive pushed that right... cheers! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is a lexical diversity measurement that penalizes number of words. It is computed as:
Where
is the number of distinct words in the text, and
is the total number of words in the text.
Unit tests should be added as well.
Docs should be updated as well, adding the following reference:
The text was updated successfully, but these errors were encountered: