Skip to content
RAG Repo

Google Books Ngrams

Google Books Ngrams turns millions of scanned books into frequency counts for n-grams, sequences of one to five consecutive words, tracked year by year across several centuries. You can watch how a word rises or falls in use over time, compare spellings, or study shifts in language and culture.

The data covers English and several other languages, and you can explore it through the online viewer or download the full datasets in bulk, which come to around 2.2 TB. Note that this is aggregate statistics rather than the underlying book text, so it suits language analysis and metadata features more than direct passage retrieval.

For RAG, it works well as a signal layer: dating terminology, spotting archaic vocabulary, or weighting how common a phrase is, rather than as a retrieval corpus in its own right.

ngramsword-frequencyhistoricallinguisticsenglishmultilingual

Related sources