Generates a soundex key for use in GsFindFirst.
Syntax
intlu GsSoundex(pstr pName);
Arguments
pName String to convert to a soundex key. Input.
Return Values
Soundex key.
Notes
This function generates a soundex key for a street name. Use it in conjunction with GsFindFirstStreet() when you want to perform a soundex search. The soundex key, when combined with a locale (state, and city), is the primary index into the GeoStan databases. Searching by soundex allows you to use your own scoring and matching mechanism for geocoding.
GeoStan uses a modified version of the standard soundex algorithm first published by Donald Knuth. The modifications employed within GeoStan include special treatment of certain prefixes such as MAC, KN, and WR; numeric street names; and an encoding scheme to pack the key into the smallest number of bits.