{"id":1637,"date":"2019-11-07T15:24:58","date_gmt":"2019-11-07T23:24:58","guid":{"rendered":"http:\/\/www.obviouseditor.com\/?p=1637"},"modified":"2023-08-13T17:44:43","modified_gmt":"2023-08-14T00:44:43","slug":"ngrams","status":"publish","type":"post","link":"https:\/\/informalenglish.com\/go\/1637\/","title":{"rendered":"NGRAMs"},"content":{"rendered":"<p>Wikipedia defines <span class=\"highlighter\">n-gram<\/span> like this:<\/p>\n<p><span class=\"quo\">In the fields of computational linguistics and probability, an n-gram is a contiguous sequence of <i>n<\/i> items from a given sample of text or speech. When the items are words, n-grams may also be called <i>shingles<\/i>.<\/span><\/p>\n<p>An n-gram shows how often a word or phrase appears (e.g., in books, or in newspapers) over time. Google describes their NGRAM program as follows:<\/p>\n<p><span class=\"quo\">When you enter phrases into the Google Books Ngram Viewer, it displays a graph showing how [often] those phrases have occurred in a corpus of books (e.g., &#8220;British English&#8221;, &#8220;English Fiction&#8221;, &#8220;French&#8221;) over the selected years.<\/span><\/p>\n<p>That&#8217;s where we get our data. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Wikipedia defines n-gram like this: In the fields of computational linguistics and probability, an n-gram is a contiguous sequence of n items from a given sample of text or speech. When the items are words, n-grams may also be called shingles. An n-gram shows how often a word or phrase appears (e.g., in books, or &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/informalenglish.com\/go\/1637\/\" class=\"more-link\">See entire post<span class=\"screen-reader-text\"> &#8220;NGRAMs&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[48,5],"tags":[],"_links":{"self":[{"href":"https:\/\/informalenglish.com\/go\/wp-json\/wp\/v2\/posts\/1637"}],"collection":[{"href":"https:\/\/informalenglish.com\/go\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/informalenglish.com\/go\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/informalenglish.com\/go\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/informalenglish.com\/go\/wp-json\/wp\/v2\/comments?post=1637"}],"version-history":[{"count":1,"href":"https:\/\/informalenglish.com\/go\/wp-json\/wp\/v2\/posts\/1637\/revisions"}],"predecessor-version":[{"id":2980,"href":"https:\/\/informalenglish.com\/go\/wp-json\/wp\/v2\/posts\/1637\/revisions\/2980"}],"wp:attachment":[{"href":"https:\/\/informalenglish.com\/go\/wp-json\/wp\/v2\/media?parent=1637"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/informalenglish.com\/go\/wp-json\/wp\/v2\/categories?post=1637"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/informalenglish.com\/go\/wp-json\/wp\/v2\/tags?post=1637"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}