This GUI-fronted procedure breaks a text down into n-word-long chunks and submits each of those chunks to the Google Ngrams data. More here: http://douglasduhaime.com/blog/ngram-frequency-and-eighteenth-century-commonplaces