phonetics icon indicating copy to clipboard operation
phonetics copied to clipboard

Implementation of phonetic algorithm in python

Results 7 phonetics issues
Sort by recently updated
recently updated
newest added

When I tried to use modules in phonetics, nothing can be found under the phonetic library. `import phonetics` `print(phonetics.dmetaphone('Danger'))` `>>> AttributeError: partially initialized module 'phonetics' has no attribute 'dmetaphone' (most...

>>> phonetics.nysiis("scent") Traceback (most recent call last): File "", line 1, in File "C:\Users\aaron\AppData\Local\Programs\Python\Python38\lib\site-packages\phonetics\nysiis.py", line 65, in nysiis if phonetic[-1] == 'S': IndexError: list index out of range

As per the subject line, `phonetics.nysiis("stewart")` fails.

https://github.com/Haran/BMDMSoundex

https://github.com/ticki/eudex

It would be great if this library has more phonetic algorithms Ruby: https://github.com/rockymadden/stringmetric Elixir: https://github.com/smashedtoatoms/the_fuzz

I think the implementation of Soundex is incorrect. Comparison of the result of this code with the PHP implementation (online tester: http://php.fnlist.com/string/soundex) shows that the results differ. Example: `phonetics.soundex('Walker') =>...