Ngram is a project mainly written in R and C, it's free.
Code to work with Google's Ngram data
404: Not Found