Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import sys
import jellyfish
import numpy as np
import pandas
_phonetic_algorithms = [{
'name': 'Soundex',
'callback': jellyfish.soundex,
'argument_names': ['soundex']
}, {
'name': 'NYSIIS',
'callback': jellyfish.nysiis,
'argument_names': ['nysiis', 'nyssis']
}, {
'name': 'Metaphone',
'callback': jellyfish.metaphone,
'argument_names': ['metaphone']
}, {
'name': 'Match Rating',
'callback': jellyfish.match_rating_codex,
'argument_names': ['match_rating', 'match rating', 'matchrating',
'match_rating_codex', 'matchratingcodex']
}
]