Hi Alex, ah, OK!!
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?! Also, the soundex algorith is really dependent on the language used. E.g. in the Netherlands "phosphorus" and "fosforus" should have the same soundex value, which (with this algorithm) is not true. Best, Arie 2018-06-02 14:58 GMT+02:00 Alexander Burger <[email protected]>: > Hi Arie, > > > just started on the "Soundex Matching" example here: > > http://pleac.sourceforge.net/pleac_picolisp/strings.html > > > > It looks like a nice program, however, it doen't state what kind of input > > it expects :) > > Typically personal names, but can be any string: > > : (soundex "Hello World") > -> "H464" > > : (soundex "Miller") > -> "M460" > > > > I know about soundex, but my current knowledge of PicoLisp is not yet > > advanced enough. > > Note that PicoLisp comes with its own soundex function, used in database > applications. It uses a different algorithm however: > > : (ext:Snx "Hello World") > -> "HLFRLT" > > : (ext:Snx "Miller") > -> "MLR" > > ♪♫ Alex > > -- > UNSUBSCRIBE: mailto:[email protected]?subject=Unsubscribe >
