/*** * * Approximate string comparison * * This work is based on the Levenshtein Metric or "edit distance", which is * well known, simple, and seems to be unencumbered by any usage restrictions. * For more information on the Levenshtein Distance you can refer to the web, * e.g. http://www.merriampark.com/ld.htm * * Accuracy and speed enhancements could probably be made to this algorithm by * implementing the improvements suggested by such people as Esko Ukkonen, Hal * Berghel & David Roach, and Sun Wu and Udi Manber. * * This has been succesfully compiled using: * Microsoft Visual C++ 6 SP 5 * GNU gcc 3.2 & Cygwin * GNU gcc 3.2 & MinGW * * Benbuck Nason, February 28th, 2003 * ***/ #ifndef ASTRCMP_H #define ASTRCMP_H #ifdef __cplusplus extern "C" { #endif float astrcmp(const char * s1, const char * s2); #ifdef __cplusplus } #endif #endif /* ASTRCMP_H */