dpalmasan / TRUNAJOD2.0

An easy-to-use library to extract indices from texts.
https://trunajod20.readthedocs.io/en/latest/
MIT License
29 stars 7 forks source link

Implement Yule's K lexical diversity index #27

Closed dpalmasan closed 3 years ago

dpalmasan commented 3 years ago

The Yule's K is defined as:

With , and is the number of words occurring times in a text containing words. Unit tests should be added as well.