{ "info": { "author": "Richard Milne", "author_email": "richmilne@hotmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Operating System :: POSIX", "Programming Language :: Python :: 2", "Topic :: Text Processing", "Topic :: Text Processing :: General", "Topic :: Text Processing :: Indexing" ], "description": "JaroWinkler\n===========\n\nOriginal, standard and customisable versions of the Jaro-Winkler functions.\n\n
\n>>> import jaro\n>>> jaro.jaro_winkler_metric(u'SHACKLEFORD', u'SHACKELFORD')\n0.9818181\n>>> help(jaro)\n\nHelp on package jaro:\n\nNAME\n jaro - Python translation of the original Jaro-Winkler functions.`\n\nDESCRIPTION\n The Jaro-Winkler functions compare two strings and return a score indicating\n how closely the strings match. The score ranges from 0 (no match) to 1\n (perfect match).\n\n Two null strings ('') will compare as equal. Strings should be unicode\n strings, and will be compared as given; the caller is responsible for\n capitalisations and trimming leading/trailing spaces.\n\n You should normally only need to use either the jaro_metric() or\n jaro_winkler_metric() functions defined here. If you want to implement your\n own, non-standard metrics, look at the comments and functions in the jaro.py\n submodule.\n\nPACKAGE CONTENTS\n ...\n jaro\n strcmp95\n ...\n\nFUNCTIONS\n jaro_metric(string1, string2)\n The standard, basic Jaro string metric.\n\n jaro_winkler_metric(string1, string2)\n The Jaro metric adjusted with Winkler's modification, which boosts\n the metric for strings whose prefixes match.\n\n original_metric(string1, string2)\n The same metric that would be returned from the reference Jaro-Winkler\n C code, taking as it does into account a typo table and adjustments for\n longer strings.\n ...\n\n custom_metric(string1, string2, typo_table, typo_scale,\n boost_threshold, pre_len, pre_scale, longer_prob)\n Calculate the Jaro-Winkler metric with parameters of your own choosing.\n ...\n",
"description_content_type": null,
"docs_url": null,
"download_url": "UNKNOWN",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "https://github.com/richmilne/JaroWinkler.git",
"keywords": null,
"license": "GNU General Public License v3 (GPLv3)",
"maintainer": null,
"maintainer_email": null,
"name": "jaro_winkler",
"package_url": "https://pypi.org/project/jaro_winkler/",
"platform": "any",
"project_url": "https://pypi.org/project/jaro_winkler/",
"project_urls": {
"Download": "UNKNOWN",
"Homepage": "https://github.com/richmilne/JaroWinkler.git"
},
"release_url": "https://pypi.org/project/jaro_winkler/1.0.2/",
"requires_dist": null,
"requires_python": null,
"summary": "Original, standard and customisable versions of the Jaro-Winkler functions.",
"version": "1.0.2"
},
"last_serial": 887048,
"releases": {
"1.0.2": [
{
"comment_text": "",
"digests": {
"md5": "671062dabc09ef4f7825565ebe18e513",
"sha256": "1873bbc171be5fdb45e03934f01dd5e305858462733c93cfcd2cd4b79249804e"
},
"downloads": -1,
"filename": "jaro_winkler-1.0.2-py2.7.egg",
"has_sig": false,
"md5_digest": "671062dabc09ef4f7825565ebe18e513",
"packagetype": "bdist_egg",
"python_version": "2.7",
"requires_python": null,
"size": 35591,
"upload_time": "2013-10-11T09:57:26",
"url": "https://files.pythonhosted.org/packages/7b/49/5d24f59e4f6954fcd222ceb81863d6d55bce24188db946ccde0395290363/jaro_winkler-1.0.2-py2.7.egg"
},
{
"comment_text": "",
"digests": {
"md5": "f6695cd5f2452111378858ead99c5fb4",
"sha256": "f418e1f5f7604d6edcce0515c678c9800dee097641c495b4fefb3006f4c5bac9"
},
"downloads": -1,
"filename": "jaro_winkler-1.0.2.tar.gz",
"has_sig": false,
"md5_digest": "f6695cd5f2452111378858ead99c5fb4",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 28799,
"upload_time": "2013-10-11T09:57:23",
"url": "https://files.pythonhosted.org/packages/c0/8e/c52f2fd80c57131431d67c4ef61521119033751dd64f5adc453f4d795385/jaro_winkler-1.0.2.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "671062dabc09ef4f7825565ebe18e513",
"sha256": "1873bbc171be5fdb45e03934f01dd5e305858462733c93cfcd2cd4b79249804e"
},
"downloads": -1,
"filename": "jaro_winkler-1.0.2-py2.7.egg",
"has_sig": false,
"md5_digest": "671062dabc09ef4f7825565ebe18e513",
"packagetype": "bdist_egg",
"python_version": "2.7",
"requires_python": null,
"size": 35591,
"upload_time": "2013-10-11T09:57:26",
"url": "https://files.pythonhosted.org/packages/7b/49/5d24f59e4f6954fcd222ceb81863d6d55bce24188db946ccde0395290363/jaro_winkler-1.0.2-py2.7.egg"
},
{
"comment_text": "",
"digests": {
"md5": "f6695cd5f2452111378858ead99c5fb4",
"sha256": "f418e1f5f7604d6edcce0515c678c9800dee097641c495b4fefb3006f4c5bac9"
},
"downloads": -1,
"filename": "jaro_winkler-1.0.2.tar.gz",
"has_sig": false,
"md5_digest": "f6695cd5f2452111378858ead99c5fb4",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 28799,
"upload_time": "2013-10-11T09:57:23",
"url": "https://files.pythonhosted.org/packages/c0/8e/c52f2fd80c57131431d67c4ef61521119033751dd64f5adc453f4d795385/jaro_winkler-1.0.2.tar.gz"
}
]
}