gmlscripts / scripts

GMLscripts.com scripts for GameMaker
Other
76 stars 14 forks source link

soundex needs work #2

Closed gmlscripts closed 9 years ago

gmlscripts commented 9 years ago

Computation/Data_Hashing/soundex.gml

It doesn't produce the correct values for certain edge cases.

http://en.wikipedia.org/wiki/Soundex

http://www.archives.gov/research/census/soundex.html

Also, beware of Wolfram|Alpha for reference testing. It doesn't always produce the correct values (eg. "Pfister")

gmlscripts commented 9 years ago

OK. I think I've fixed it. It correctly matches all of the examples given by the soundex system specification in the National Archives.