Skip to content

A script to rank words by their relative popularity based on their occurrence in a large corpus of books over time.

License

Notifications You must be signed in to change notification settings

ym496/ngram-priority

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ngram-Priority

Overview

The is a Python script that utilizes the Google Books Ngram Viewer to rank words by their relative popularity based on their occurrence in a large corpus of books over time. I wrote this to determine the priority of learning new words from my extensive list of new vocabulary.

Usage

To run the script, use the following command in your terminal:

python script.py "word1, word2, word3, ..."

Replace "word1, word2, word3, ..." with your list of words separated by commas.

Example

$ python script.py "portmanteau,elucidated,unscrupulous,voraciously"

1. unscrupulous
2. elucidated
3. portmanteau
4. voraciously

Dependencies

  • Make sure to get Python 3.10.12 or higher.
  • Install the dependencies.
pip install -r requirements.txt

About

A script to rank words by their relative popularity based on their occurrence in a large corpus of books over time.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages