We have found a slight error with the version we downloaded and as of the most recent release October 27th it has not been fixed. The Soundex code does not remove any consecutive repetitions of code.
For example: Shan Han results in S550 when it should return S500.
We fixed it by changing:
if sub != last:
to
if (sub != last) and (sub !=result[-1]):
haven't investigated this, but filing it here for later
report via email:
We have found a slight error with the version we downloaded and as of the most recent release October 27th it has not been fixed. The Soundex code does not remove any consecutive repetitions of code.
For example: Shan Han results in S550 when it should return S500.
We fixed it by changing:
if sub != last: to if (sub != last) and (sub !=result[-1]):
haven't investigated this, but filing it here for later