home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / question / 10179 < prev    next >
Encoding:
Internet Message Format  |  1992-08-19  |  3.3 KB

  1. Path: sparky!uunet!ferkel.ucsb.edu!taco!rock!stanford.edu!ames!sun-barr!cs.utexas.edu!rutgers!psinntp!psinntp!fafnir!mckelvey
  2. From: mckelvey@fafnir.com (James W. McKelvey)
  3. Newsgroups: comp.unix.questions
  4. Subject: Re: Fun with sed!!!! [nothing better to do on Saturday night]
  5. Message-ID: <Bt7t6C.2H0@fafnir.com>
  6. Date: 19 Aug 92 05:13:23 GMT
  7. References: <512@alden.UUCP>
  8. Sender: mckelvey@fafnir.com (James W. McKelvey)
  9. Reply-To: mckelvey@fafnir.com
  10. Organization: Fafnir Software, Saugus, CA, USA
  11. Lines: 80
  12.  
  13. In article <512@alden.UUCP> sgr@alden.UUCP (Stan Ryckman) writes:
  14. > In article <1992Aug10.192853.3209@kopachuk.uucp> dcb@kopachuk.uucp (David  
  15. Breneman) writes:
  16. > >In article <1992Aug2.152356.7333@news.acns.nwu.edu>  
  17. navarra@casbah.acns.nwu.edu (John Navarra) writes:
  18. > >>
  19. > >>
  20. > >>For today's sed problem let us go all the way back to early grade school
  21. > >>where we heard the famous rule:
  22. > >>
  23. > >>'I' before "E" except after "C".
  24. > >>
  25. > >>This is the rule I want to implement in sed. So far, here is my progress:
  26. > >
  27. > >Process deleted...
  28. > >
  29. > >>Wonderful, Wonderful! I needed to misspell words in order to correct
  30. > >>other words, then change all the misspelled words back in addition to
  31. > >>other misspelled words just like them!  
  32. > >
  33. > >When you get up, you can try adding the second half of the rule:
  34. > >
  35. > >"...or sounding like "A" as in neighbor or weigh."
  36. > Oh, it gets a lot worse than that.
  37. > How do you pronounce "either?"
  38. > Does anyone named "Neil" pronounce his name as if "Nail?"
  39. > In fact, I ran "egrep -i '(^|[^c])ei' /usr/dict/words"; the
  40. > first few (of 213 matches) are:
  41. >     absenteeism    <- not "A" sound
  42. >     Aeneid        <- not "A" sound
  43. >     agreeing    <- not "A" sound
  44. >     albeit        <- not "A" sound
  45. >     Alexei        <- not "A" sound
  46. >     Anaheim        <- not "A" sound
  47. >     Andrei        <- I don't know
  48. >     aniseikonic    <- I have no idea!
  49. >     apartheid    <- not "A" sound
  50. >     atheism        <- not "A" sound"
  51. >     atheist        <- not "A" sound
  52. > What would Einstein think about this "rule?"   :-)
  53. >            ^^   ^^
  54. > >
  55. > >Be sure to post your solution. :-)
  56. > Yeah, especially if you can find one that will get all these
  57. > words right!  :-) :-)
  58. > Stan.
  59. > --
  60. > This .signature has expired.  Call 1-900-YOU-FOOL to find out why.
  61. >     Stan Ryckman   sgr@alden.UUCP
  62.  
  63. Einstein is German, and doesn't have to obey English rules.  Aeneid is Greek,  
  64. so ditto.  Apartheid is what, Afrikaans? so ditto.  Anaheim is probably German  
  65. also.  Alexei, a foreign name, maybe from Russian, so ditto.
  66.  
  67. The others have a syllable split between the e and the i; absenteeism is  
  68. absentee plus ism.  This also explains words like "weird", which is really two  
  69. syllables, "we-ird".  Also, come to think of it, Aeneid, "Aen-e-id".
  70.  
  71. So the problem is your "rule" is bogus and your teachers lied to you.  The real  
  72. rule is:
  73.  
  74. I before E except before C and in sounds of "A" like "neighbor" and "weigh",  
  75. this being for syllables only, not compound words, and it doesn't necessarily  
  76. apply to words imported from foreign languages, even English proper names may  
  77. deviate, and anyway there are exceptions like "either".
  78.  
  79. Whew!
  80.  
  81.                          Jim McKelvey    mckelvey@fafnir.com
  82. -- 
  83. A man should not strive to eliminate his complexes, but to get in
  84. accord with them; they are legitimately what directs his conduct
  85. in the world. - Sigmund Freud
  86. Jim McKelvey                      mckelvey@fafnir.com
  87.