{ "info": { "author": "YouGov, Plc.", "author_email": "jaraco@jaraco.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "License :: OSI Approved :: Artistic License", "License :: OSI Approved :: MIT License", "Operating System :: POSIX", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Text Processing", "Topic :: Text Processing :: General", "Topic :: Text Processing :: Indexing", "Topic :: Text Processing :: Linguistic" ], "description": ".. image:: https://img.shields.io/pypi/v/Fuzzy.svg\n :target: https://pypi.org/project/Fuzzy\n\n.. image:: https://img.shields.io/pypi/pyversions/Fuzzy.svg\n\n.. image:: https://img.shields.io/travis/yougov/fuzzy/master.svg\n :target: http://travis-ci.org/yougov/fuzzy\n\n\nFuzzy is a python library implementing common phonetic algorithms quickly.\nTypically this is in string similarity exercises, but they're pretty versatile.\n\nIt uses C Extensions (via Cython) for speed.\n\nThe algorithms are:\n\n* `Soundex `_\n* `NYSIIS `_\n* `Double Metaphone `_ Based on Maurice\n Aubrey's C code from his perl implementation.\n\nUsage\n=====\n\nThe functions are quite easy to use!\n\n>>> import fuzzy\n>>> soundex = fuzzy.Soundex(4)\n>>> soundex('fuzzy')\n'F200'\n>>> dmeta = fuzzy.DMetaphone()\n>>> dmeta('fuzzy')\n['FS', None]\n>>> fuzzy.nysiis('fuzzy')\n'FASY'\n\nPerformance\n===========\n\nFuzzy's Double Metaphone was ~10 times faster than the pure python\nimplementation by `Andrew Collins `_\nin some recent `testing `_.\nSoundex and NYSIIS should be similarly faster. Using iPython's timeit::\n\n In [3]: timeit soundex('fuzzy')\n 1000000 loops, best of 3: 326 ns per loop\n\n In [4]: timeit dmeta('fuzzy')\n 100000 loops, best of 3: 2.18 us per loop\n\n In [5]: timeit fuzzy.nysiis('fuzzy')\n 100000 loops, best of 3: 13.7 us per loop\n\n\nDistance Metrics\n================\n\nWe recommend the `Python-Levenshtein `_\nmodule for fast, C based string distance/similarity metrics. Among others\nfunctions it includes:\n\n * `Levenshtein `_ edit distance\n * `Jaro `_ distance\n * `Jaro-Winkler `_ distance\n * `Hamming distance `_\n\nIn testing it's been several times faster than comparable pure python\nimplementations of those algorithms.", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/yougov/Fuzzy", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "Fuzzy", "package_url": "https://pypi.org/project/Fuzzy/", "platform": "", "project_url": "https://pypi.org/project/Fuzzy/", "project_urls": { "Homepage": "https://github.com/yougov/Fuzzy" }, "release_url": "https://pypi.org/project/Fuzzy/1.2.2/", "requires_dist": null, "requires_python": "", "summary": "Fast Python phonetic algorithms", "version": "1.2.2" }, "last_serial": 3254862, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "cd8676a6daf805f30dc07c49cebe3054", "sha256": "73d126b277f59486e91f6be8e4578a5d462a73471f816ff6c488fd43ce2be708" }, "downloads": -1, "filename": "Fuzzy-1.0.tar.gz", "has_sig": false, "md5_digest": "cd8676a6daf805f30dc07c49cebe3054", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21013, "upload_time": "2011-03-23T21:01:53", "url": "https://files.pythonhosted.org/packages/9f/9a/0acba29e3b9d7e51561c7377599110472c939d52a9e3d7fccc528838ede0/Fuzzy-1.0.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "9520b910dbbddd5449c68720ce0dedfc", "sha256": "57863b9e9aacf82a0b8530ff3b1435cd9b83fe7e526f358eacc366a35eb0cdff" }, "downloads": -1, "filename": "Fuzzy-1.1.tar.gz", "has_sig": false, "md5_digest": "9520b910dbbddd5449c68720ce0dedfc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20006, "upload_time": "2015-06-04T13:47:46", "url": "https://files.pythonhosted.org/packages/0e/cb/24003d3553ba239bee615de9ad198746a12f4dfd57dac3289e07ecfcb44a/Fuzzy-1.1.tar.gz" } ], "1.2": [ { "comment_text": "", "digests": { "md5": "383bff6d2e62a33e216e71ec4490eae8", "sha256": "6494c516817c6e0e9bd910126de2bd35f5f06cf60b848f8c374150b2a38d7490" }, "downloads": -1, "filename": "Fuzzy-1.2.tar.gz", "has_sig": false, "md5_digest": "383bff6d2e62a33e216e71ec4490eae8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15328, "upload_time": "2017-09-18T21:41:42", "url": "https://files.pythonhosted.org/packages/9c/d1/451924b0cd5e96fd2750386efc2211c0c6a7ec952fd6af1de9d2599f3438/Fuzzy-1.2.tar.gz" } ], "1.2.1": [ { "comment_text": "", "digests": { "md5": "d0807b22b0148e56b29f688df7d13f39", "sha256": "acdaa1f74519603fbe3a065fa1faf8fc6d925a57926a7461e8c45e79994275c2" }, "downloads": -1, "filename": "Fuzzy-1.2.1.tar.gz", "has_sig": false, "md5_digest": "d0807b22b0148e56b29f688df7d13f39", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16237, "upload_time": "2017-10-16T22:01:53", "url": "https://files.pythonhosted.org/packages/48/69/8c6c38f7f5a46da2c32d8c971c76d58743a5c9dae2692eadf2c0896715e5/Fuzzy-1.2.1.tar.gz" } ], "1.2.2": [ { "comment_text": "", "digests": { "md5": "300a8fc0542000c96009d82481d0bd67", "sha256": "6b240e630235f183730b27fcb70fdd0d409bee2c3a4e7a964eeae093a28c4f38" }, "downloads": -1, "filename": "Fuzzy-1.2.2.tar.gz", "has_sig": false, "md5_digest": "300a8fc0542000c96009d82481d0bd67", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14839, "upload_time": "2017-10-16T22:09:04", "url": "https://files.pythonhosted.org/packages/ad/b0/210f790e81e3c9f86a740f5384c758ad6c7bc1958332cf64263a9d3cf336/Fuzzy-1.2.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "300a8fc0542000c96009d82481d0bd67", "sha256": "6b240e630235f183730b27fcb70fdd0d409bee2c3a4e7a964eeae093a28c4f38" }, "downloads": -1, "filename": "Fuzzy-1.2.2.tar.gz", "has_sig": false, "md5_digest": "300a8fc0542000c96009d82481d0bd67", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14839, "upload_time": "2017-10-16T22:09:04", "url": "https://files.pythonhosted.org/packages/ad/b0/210f790e81e3c9f86a740f5384c758ad6c7bc1958332cf64263a9d3cf336/Fuzzy-1.2.2.tar.gz" } ] }