jchook.com
❯ Wes Roberts ·

Hacker News n-gram viewer.

Google’s Ngram Viewer, but for Hacker News posts and comments.

In true HN style, it’s fully open-source at jchook/hngram. Also hosted at hngram.com.

It answers questions like “When did everyone stop saying Web 2.0?” or “When did Rust become more talked-about than Python?”

What is an n-gram?

An n-gram is just a phrase with n words. So, “Harambe” is a 1-gram, “Void Linux” is a 2-gram, and “root of all evil” is a 4-gram.

HNgram supports up to 5-grams.

Optimizations

It was challenging to work with a dataset of this size. I did a lot of fun optimizations with this project that I’d love to write about, but that will have to be on another day.

Note

Vote for your favorite phrase comparisons and we will add them to the suggestions.