R code for querying and parsing results from Google n-grams.