开发者

Save Google NGram result as .csv

Is there an easy way, to save a Google Ngram result http://books.google.com/ngrams/ as a csv?

So that I get a list like

1900 peace 500000times
1901 peace 540000times 

and so on?

I downloaded their raw data but have no idea how to handle it. When I open those c开发者_运维问答sv in OpenOffice, I can't even see a single word.


It can be done, and it's actually quite easy. Generate the graph you want on the Google Ngram viewer, then use your browser's function to show the page source code (this might be hidden under advanced or developer options). Then in the code (probably on line 297), you will find the data simply listed. You can use any word processor and/or spreadsheet software to clean up the data and export them as CSV.


No, you'd have to go to their datasets, which would be daunting to find what you wanted, or you could try Microsoft Research's N-Gram service.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜