A real double metaphone implementation in C++

I’ve been doing some work on a baby name explorer web app, and I needed a good C++ implementation of the double metaphone algorithm. There are several C and C++ implementations mentioned on the web site, but most of them are chock full of usage-specific junk, like Perl strings, Microsoft Visual Studio cruft, etc. So, I took the C implementation from the Perl module, removed all the perl string code, and replaced in with STL strings.

It works great, and I’m on my way to a proper baby name explorer web app. Here’s the derivative C++ double-metaphone implementation.

This entry was posted in Linux Stuff, Web. Bookmark the permalink.

One Response to A real double metaphone implementation in C++

  1. Hi Stacy,

    Have you seem the latest version of Metaphone, Metaphone 3?

    – L

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>