{"id":6,"date":"2009-06-21T09:53:00","date_gmt":"2009-06-21T09:53:00","guid":{"rendered":"http:\/\/www.lochan.org\/keith\/blogs\/gurunoia\/?p=6"},"modified":"2012-10-15T21:43:47","modified_gmt":"2012-10-15T21:43:47","slug":"the-things-they-teach-you","status":"publish","type":"post","link":"https:\/\/gurunoia.lochan.org\/blog\/2009\/06\/the-things-they-teach-you\/","title":{"rendered":"The things they teach you"},"content":{"rendered":"<p><span style=\"font-style: italic;\">&#8220;I&#8221; before &#8220;E&#8221; except after &#8220;C&#8221;<\/span><\/p>\n<p>&#8230;or so I was taught, and you probably were too.  But now <a href=\"http:\/\/news.bbc.co.uk\/2\/hi\/uk_news\/education\/8110573.stm\">schools in England have been asked to stop teaching it<\/a>, because &#8220;there are too few words that follow the rule&#8221;.<\/p>\n<p>I remember the rule with fondness, so I have sympathy with the KCL lecturer quoted.  But facts are more reliable than impressions, so I thought I&#8217;d check it out myself.<\/p>\n<p>The fab team at Lancashire have made their <a href=\"http:\/\/ucrel.lancs.ac.uk\/bncfreq\/\">English-language word frequency lists<\/a> <a href=\"http:\/\/ucrel.lancs.ac.uk\/bncfreq\/flists.html\">freely available<\/a> under a Creative Commons license.  A quick download and a little bit of Perl later, we have the following:<\/p>\n<p>Total: per million words of English, the rule is wrong 5820 times, and right 8475 times (the remainder do not contain either &#8220;ie&#8221; or &#8220;ei&#8221;).  In other words, <span style=\"font-weight: bold;\">for any random word you might want to write or speak, the rule will be right 59% of the time &#8211; just fractionally better than tossing a coin!  <\/span>In fact, the top four words containing &#8220;ie&#8221; or &#8220;ei&#8221; all break the rule &#8211; it&#8217;s not until you reach the fifth that it works:<\/p>\n<ol>\n<li>Wrong: their 2608<\/li>\n<li>Wrong: being 862<\/li>\n<li>Wrong: society 238<\/li>\n<li>Wrong: either 220<\/li>\n<li>Right: view 214<\/li>\n<li>Right: believe 212<\/li>\n<li>Right: experience 189<\/li>\n<li>Right: companies 178<\/li>\n<li>Right: patients 173<\/li>\n<li>Wrong: eight 173<\/li>\n<\/ol>\n<p>The British National Corpus has written and spoken English in it, but that doesn&#8217;t make much difference &#8211; for the written corpus only, we have wrong 5760, right 7680, or 57% &#8211; slightly <span style=\"font-style: italic;\">worse<\/span>!<\/p>\n<p>So the educationalists are right for once, and our intuition is wrong &#8211; the rule isn&#8217;t much better than flipping a coin!<\/p>\n<p>Enjoy.<\/p>\n<p>PS: Here&#8217;s the Perl:<\/p>\n<p><span style=\"font-size:78%;\"><\/p>\n<pre><br \/><span style=\"font-family:courier new;\">#!\/usr\/bin\/perl -w<\/span><br \/><span style=\"font-family:courier new;\">use strict;<\/span><br \/><br \/><span style=\"font-family:courier new;\">my $wrong = 0;<\/span><br \/><span style=\"font-family:courier new;\">my $right = 0;<\/span><br \/><br \/><span style=\"font-family:courier new;\">while (<>) {<\/span><br \/><span style=\"font-family:courier new;\">    chomp;<\/span><br \/><span style=\"font-family:courier new;\">    # use [0,1] for 1_2_all_freq.txt or [0,5] for 2_2_writtenspoken.txt<\/span><br \/><span style=\"font-family:courier new;\">    my ($word,$freq) = (split)[0,1];<\/span><br \/><span style=\"font-family:courier new;\">    if ($word =~ \/(?:ie|ei)\/i) {<\/span><br \/><span style=\"font-family:courier new;\">        # interesting<\/span><br \/><span style=\"font-family:courier new;\">        if ($word =~ \/cie|(?:^|[^c])ei\/i) {<\/span><br \/><span style=\"font-family:courier new;\">            print \"Wrong: $word $freq\\n\";<\/span><br \/><span style=\"font-family:courier new;\">            $wrong += $freq;<\/span><br \/><span style=\"font-family:courier new;\">        } else {<\/span><br \/><span style=\"font-family:courier new;\">            print \"Right: $word $freq\\n\";<\/span><br \/><span style=\"font-family:courier new;\">            $right += $freq;<\/span><br \/><span style=\"font-family:courier new;\">        }<\/span><br \/><span style=\"font-family:courier new;\">    }<\/span><br \/><span style=\"font-family:courier new;\">}<\/span><br \/><br \/><span style=\"font-family:courier new;\">print \"Total wrong $wrong, right $right\\n\";<\/span><br \/><\/pre>\n<p><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8220;I&#8221; before &#8220;E&#8221; except after &#8220;C&#8221; &#8230;or so I was taught, and you probably were too. But now schools in England have been asked to stop teaching it, because &#8220;there are too few words that follow the rule&#8221;. I remember &hellip; <a href=\"https:\/\/gurunoia.lochan.org\/blog\/2009\/06\/the-things-they-teach-you\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":""},"categories":[18],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/gurunoia.lochan.org\/blog\/wp-json\/wp\/v2\/posts\/6"}],"collection":[{"href":"https:\/\/gurunoia.lochan.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gurunoia.lochan.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gurunoia.lochan.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gurunoia.lochan.org\/blog\/wp-json\/wp\/v2\/comments?post=6"}],"version-history":[{"count":1,"href":"https:\/\/gurunoia.lochan.org\/blog\/wp-json\/wp\/v2\/posts\/6\/revisions"}],"predecessor-version":[{"id":45,"href":"https:\/\/gurunoia.lochan.org\/blog\/wp-json\/wp\/v2\/posts\/6\/revisions\/45"}],"wp:attachment":[{"href":"https:\/\/gurunoia.lochan.org\/blog\/wp-json\/wp\/v2\/media?parent=6"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gurunoia.lochan.org\/blog\/wp-json\/wp\/v2\/categories?post=6"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gurunoia.lochan.org\/blog\/wp-json\/wp\/v2\/tags?post=6"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}