<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Arial; font-size: 12pt; color: #000000'>This is very nice. Is there any way to query this from a program using an API?<span> Or any plans to do that?<br><br><br><br><span name="x"></span><br>Ruvan Weerasinghe<br>University of Colombo School of Computing<br>Colombo 00700,<br>Sri Lanka.<br><br>Web: http://www.ucsc.lk<br>Phone: +94112158953; Fax: +94112587239<span name="x"></span><br></span><br><hr id="zwchr"><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;" mce_style="border-left:2px solid #1010ff;margin-left:5px;padding-left:5px;"><b>From: </b>"Mark Davies" <Mark_Davies@byu.edu><br><b>To: </b>"Ruvan Weerasinghe" <arw@ucsc.cmb.ac.lk>, Corpora@uib.no<br><b>Sent: </b>Tuesday, August 9, 2011 1:07:26 AM<br><b>Subject: </b>RE: [Corpora-List] API for accessing Google's English ngrams?<br><br>Ruvan,<br><br>>> Is there a way to query Google's English ngram data without downloading the files from http://ngrams.googlelabs.com/datasets?<br>Or is there any other online data source from which ngram data for English can be accessed?<br><br>For the American English dataset (155 billion words), you can use: http://googlebooks.byu.edu/ .<br><br>This allows you to search by wildcard (for letters and words), part of speech, lemma, synonyms, and customized lists. You can also search for collocates, as well as compare n-grams across different time periods (e.g. adjectives with "woman" 1820s-1910s vs 1960s-2000s). You can also limit to just a subset of the n-grams data (e.g. just the 62 billion words of data from the 1980s-2000s).<br><br>I've applied for a grant to do the same thing with the other Google Books datasets (e.g. British English, English back to the 1500s, One Million Books dataset, and Spanish, French, and German).<br><br>Best,<br><br>Mark D.<br><br>============================================<br>Mark Davies<br>Professor of Linguistics / Brigham Young University<br>http://davies-linguistics.byu.edu<br> <br>** Corpus design and use // Linguistic databases **<br>** Historical linguistics // Language variation **<br>** English, Spanish, and Portuguese **<br>============================================<br><br><br>From: corpora-bounces@uib.no [corpora-bounces@uib.no] On Behalf Of Ruvan Weerasinghe [arw@ucsc.cmb.ac.lk]<br>Sent: Monday, August 08, 2011 11:36 AM<br>To: Corpora@uib.no<br>Subject: [Corpora-List] API for accessing Google's English ngrams?<br><br><br>Is there a way to query Google's English ngram data without downloading the files from http://ngrams.googlelabs.com/datasets?<br>Or is there any other online data source from which ngram data for English can be accessed?<br><br><br><br> RuvanWeerasinghe<br>University of Colombo School of Computing<br>Colombo 00700,<br>Sri Lanka.<br><br>Web: http://www.ucsc.lk<br>Phone: +94112158953; Fax: +94112587239</blockquote><br></div></body></html>