You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found that calling the soundex() changes the input string to capital. Even creating a deep copy cannot prevent the change.
My current solution is to create a new string then append the letters of input string to the new string one at a time, then use the new string as the input for soundex().
Original comment byRohan Anand (Bitbucket: rohan_anand, GitHub: Unknown):
This fork has got it fixed : https://bitbucket.org/dhellmann/fuzzy
Basically deepcopy doesn't work because strings are immutable in python but since the library internally makes a C call, it gets modified in place by C which should have not happened.
Originally reported by: Anonymous
I found that calling the soundex() changes the input string to capital. Even creating a deep copy cannot prevent the change.
My current solution is to create a new string then append the letters of input string to the new string one at a time, then use the new string as the input for soundex().
The text was updated successfully, but these errors were encountered: