@derock.ir/words-frequency
v1.2.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
5
Readme
Words frequency
An NPM package for common English words frequency based on 20,000 common words in Project Gutenberg.
Install
npm i "@derock.ir/words-frequency"
Usage
const wordsFrequency = require('@derock.ir/words-frequency');
console.log(wordsFrequency[0]);
// [1, "the", 5.6271872]
Every arry item includes:
- Rank
- Word
- Occurrence percentage