# # DESCRIPTION # # This class implements a "sounds like" algorithm developed # by Lawrence Philips which he published in the June, 2000 issue # of C/C++ Users Journal. Double Metaphone is an improved # version of Philips' original Metaphone algorithm. # # COPYRIGHT # # Copyright 2001, Stephen Woodbridge <woodbri@swoodbridge.com> # All rights reserved. # # This PHP translation is based heavily on the C implementation # by Maurice Aubrey <maurice@hevanet.com>, which in turn # is based heavily on the C++ implementation by # Lawrence Philips and incorporates several bug fixes courtesy # of Kevin Atkinson <kevina@users.sourceforge.net>. # # This module is free software; you may redistribute it and/or # modify it under the same terms as Perl itself. #
Contributions and acknowdgements:
Here are the files:
Here is the mptest.php3 test file.
Click HERE to run the interactive test program.
Click HERE to run a batch test of over 1100 names.
Here is the surnames.php3 test program.
To my DoubleMetaPhone Class on the PHP Classes Repository.
To Kevin Atkinson's work at http://aspell.sourceforge.net/metaphone/.
To Maurice Aubrey's work at http://www.cpan.org/modules/by-authors/id/MAURICE/.