Hi Arie,

> Well, then this might be a better show off:
> 
> : (soundex "Smith")
> -> "S530"
> : (soundex "Smithe")
> -> "S530"
> : (soundex "Smyithe")
> -> "S530"
> 
> because that shows what soundex is really about, don't you think?!

Exactly. Mapping "similar" names to the same key.

In German, for example, all the following names are very common:

   : (soundex "Meier")
   -> "M600"

   : (soundex "Meyer")
   -> "M600"

   : (soundex "Mayer")
   -> "M600"

   : (soundex "Mayr")
   -> "M600"

   : (soundex "Mair")
   -> "M600"


> E.g. in the Netherlands "phosphorus" and "fosforus" should have the same
> soundex value, which (with this algorithm) is not true.

Right. Soundex keeps the first letter unchanged.
♪♫ Alex

-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Reply via email to