Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/5/84; site cognos.UUCP Path: utzoo!dciem!nrcaer!cognos!garyp From: garyp@cognos.UUCP (Gary Puckering) Newsgroups: net.sources Subject: Re: soundex algorithm wanted Message-ID: <173@cognos.UUCP> Date: Tue, 9-Sep-86 15:01:56 EDT Article-I.D.: cognos.173 Posted: Tue Sep 9 15:01:56 1986 Date-Received: Thu, 11-Sep-86 11:11:08 EDT References: <27@houligan.UUCP> <672@bnrmtv.UUCP> <1239@whuxl.UUCP> <6928@sun.uucp> Organization: Cognos Inc., Ottawa, Canada Lines: 44 > > > Perhaps someone could just post the plain english description of > soundex... > Sure! Be glad too... The Soundex function creates a phoenetic code based on an input key value according to the following rules: 1) Always retain the first letter of the key. 2) Drop out A, E, I, O, U, Y, W, and H. 3) Assign the following numbers to the remaining similar-sounding sets of letters: B, F, P, V = 1 C, G, J, K, Q, S, X, Z = 2 D, T =3 L = 4 M, N = 5 R = 6 4) If there are insufficient letters in the key to complete the code, fill with zeroes. 5) Drop adjacent equivalent letters (e.g. KELLY = K400). 6) Drop out adjacent equivalents of the first letter (e.g. LLOYD = L300). -- -- Gary Puckering COGNOS Incorporated 3755 Riverside Dr. Ottawa, Ontario Canada K1G 3N3 Telephone: (613) 738-1440 Telex: 053-3341