Tools for downloading and parsing Google Ngram data
Python R Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
ngrams_downloader.sh
parse_grams.awk
parse_grams.sh
plot_ngrams.R
process.py

README.md

google gram tools

  1. Download the ngram sets you want $ ngrams_downloader

  2. Parse the terms you are interested in [modify parse_grams.awk] $ parse_rgams.sh

  3. Generate phrase counts for the term groups you are interested in [modify process.py] $ python process.py

  4. Graph it $ R < plot_ngrams.R --no-save