How to use the jellyfish.jaro_distance function in jellyfish

To help you get started, we’ve selected a few jellyfish examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github J535D165 / recordlinkage / recordlinkage / algorithms / string.py View on Github external
def jaro_apply(x):

        try:
            return jellyfish.jaro_distance(x[0], x[1])
        except Exception as err:
            if pandas.isnull(x[0]) or pandas.isnull(x[1]):
                return np.nan
            else:
                raise err
github shanepeckham / CustomSpeech-Processing-Pipeline / Transcriber / transcriber.py View on Github external
def compute_jaro_distance(text, api_text):
    return ({'Al': 'jellyfishjaro', 'Text': text, 'Score': (jellyfish.jaro_distance(api_text, text) * 100)})