1.2.0 • Published 3 years ago
@derock.ir/words-frequency v1.2.0
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