I Before E
November 29, 2013
School children learning to spell English words are taught a series of rules. One of them is:
I before E except after C, or when sounded as AY as in NEIGHBOR and WEIGH.
Your task is to write a program that finds exceptions to that rule; you may want to look at the pronouncing dictionary at http://svn.code.sf.net/p/cmusphinx/code/trunk/cmudict/cmudict.0.6d. When you are finished, you are welcome to read or run a suggested solution, or to post your own solution or discuss the exercise in the comments below.