Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 846 Bytes

README.md

File metadata and controls

29 lines (23 loc) · 846 Bytes

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