Abandoned

Since infogami has been abandoned by its creators, I’m out too. Back to web.fisher.cx for me. Everything that was here is there.

Robert Fisher

Just thinking out loud

I before E except after C

If you register and log in you can add comments to my pages. If viewing the main blog page, click the # underneath an entry to comment on it.

# In how many words does IE appear when not preceeded by C?
$ perl -ne 'print if(/(?<!c)ie/i);' /usr/share/dict/words | wc -l
15934

# In how many words does EI appear when not preceeded by C?
$ perl -ne 'print if(/(?<!c)ei/i);' /usr/share/dict/words | wc -l
5459

# In how many words does CIE appear?
$ perl -ne 'print if(/cie/i);' /usr/share/dict/words | wc -l
877

# In how many words does CEI appear?
$ perl -ne 'print if(/cei/i);' /usr/share/dict/words | wc -l
305

So, I does seem to come before E more often (74%) when not following C. But after C, E comes before I only 26% percent of the time.

(Of course, this doesn't take into account the frequency of the words!)


Languages