Path: utzoo!yunexus!geac!syntron!jtsv16!uunet!mcvax!enea!kth!draken!bmc1!kuling!waldau From: waldau@kuling.UUCP (Mattias Waldau) Newsgroups: comp.lang.prolog Subject: Re: Soundex revisited Message-ID: <822@kuling.UUCP> Date: 6 Sep 88 08:02:46 GMT Article-I.D.: kuling.822 References: <305@quintus.UUCP> <7000005@osiris.cso.uiuc.edu> Reply-To: waldau@kuling.UUCP (Mattias Waldau) Organization: Dept. of Computer Systems, Uppsala University, Sweden Lines: 15 Mark Goldfain found a serious bug in the last full first order version of remove_vowels, and I see no easy fix right now. So the original version is the only correct one. It just a set of rewrite rules, and is probably more efficient in an equational language. The soundex-algorithm is not easy specifiable, since it is an algorithm where we transform A to B, B to C, and the relationship between A and C is not easy to specify. (What does remove adjancent identical codes mean after we have removed the vowels?) Therefor I tried, but I didn't get a clearer description than the corresponding conventional well written program. -- Mattias Waldau