Lines Matching defs:soundex
6 @EXPORT = qw(&soundex $soundex_nocode);
10 # $Id: soundex.pl,v 1.2 1994/03/24 00:30:27 mike Exp $
12 # Implementation of soundex algorithm as described by Knuth in volume
27 # $Log: soundex.pl,v $
31 # the same soundex code. This showed up comparing it with Oracle's
32 # soundex output.
40 # $soundex_nocode is used to indicate a string doesn't have a soundex
45 sub soundex
88 $code = soundex $string; # get soundex code for a string
89 @codes = soundex @list; # get list of codes for list of strings
91 # set value to be returned for strings without soundex code
97 This module implements the soundex algorithm as described by Donald Knuth
104 If there is no soundex code representation for a string then the value of
110 In scalar context C<soundex> returns the soundex code of its first
112 soundex code for the corresponding argument passed to C<soundex> e.g.
114 @codes = soundex qw(Mike Stok);
120 Knuth's examples of various names and the soundex codes they map to
132 $code = soundex 'Knuth'; # $code contains 'K530'
133 @list = soundex qw(Lloyd Gauss); # @list contains 'L300', 'G200'
137 As the soundex algorithm was originally used a B<long> time ago in the US
142 similarity of two strings which end up with the same soundex code. For
143 example, both C<Hilbert> and C<Heilbronn> end up with a soundex code