Next: , Previous: string completion, Up: Top


25 (string soundex)

25.1 Overview

Soundex algorithm, taken from Knuth, Vol. 3 “Sorting and searching”, pp 391–2

25.2 Usage

— Function: soundex name

Performs the original soundex algorithm on the input name. Returns the encoded string. The idea is for similar sounding sames to end up with the same encoding.

           (soundex "Aiza")
          => "A200"
           (soundex "Aisa")
          => "A200"
           (soundex "Aesha")
          => "A200"