@derockit/words-frequency
v1.0.0
Published
An NPM package for common English words frequency based on 20,000 [common words in Project Gutenberg](https://en.wiktionary.org/wiki/Wiktionary:Frequency_lists#Project_Gutenberg).
Downloads
1
Readme
Words frequency
An NPM package for common English words frequency based on 20,000 common words in Project Gutenberg.
Install
npm i @openderock/words-frequency
Usage
const wordsFrequency = require('@openderock/words-frequency');
console.log(wordsFrequency[0]);
// [1, "the", 5.6271872]
Every arry item includes:
- Rank
- Word
- Occurrence percentage