{ "info": { "author": "Lilykos", "author_email": "lilykosk@gmail.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "Programming Language :: Python :: 3", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "===========\nPyphonetics\n===========\n\nPyphonetics is a Python 3 library for phonetic algorithms. Right now, the following algorithms are implemented and supported:\n\n * Soundex\n * Metaphone\n * Refined Soundex\n * Fuzzy Soundex\n * Lein\n * Matching Rating Approach\n\nMore will be added in the future.\n\nInstalation\n***********\n\nThe module is available in PyPI, just use `pip install pyphonetics`.\n\n\nUsage\n*****\n\n >>> from pyphonetics import Soundex\n >>> soundex = Soundex()\n >>> soundex.phonetics('Rupert')\n 'R163'\n >>> soundex.phonetics('Robert')\n 'R163'\n >>> soundex.sounds_like('Robert', 'Rupert')\n True\n\n\nThe same API applies to every algorithm, e.g:\n\n >>> from pyphonetics import Metaphone\n >>> metaphone = Metaphone()\n >>> metaphone.phonetics('discrimination')\n 'TSKRMNXN'\n\nYou can also use the `distance(word1, word2, metric='levenshtein')` method to find the distance between 2 phonetic representations.\n\n >>> from pyphonetics import RefinedSoundex\n >>> rs = RefinedSoundex()\n >>> rs.distance('Rupert', 'Robert')\n 0\n >>> rs.distance('assign', 'assist', metric='hamming')\n 2\n\nCredits\n=======\n\nThe module was largely based on the implementation of phonetic algorithms found in the Talisman.js (https://github.com/Yomguithereal/talisman) Node NLP library.", "description_content_type": null, "docs_url": null, "download_url": null, "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/Lilykos/pyphonetics", "keywords": null, "license": null, "maintainer": null, "maintainer_email": null, "name": "pyphonetics", "package_url": "https://pypi.org/project/pyphonetics/", "platform": null, "project_url": "https://pypi.org/project/pyphonetics/", "project_urls": { "Homepage": "http://github.com/Lilykos/pyphonetics" }, "release_url": "https://pypi.org/project/pyphonetics/0.4.1/", "requires_dist": [ "unidecode", "pytest" ], "requires_python": ">=3", "summary": "A Python 3 phonetics library.", "version": "0.4.1" }, "last_serial": 2714622, "releases": { "0.4": [ { "comment_text": "", "digests": { "md5": "5cd7510193dab6f1ea02935b487389e3", "sha256": "45c07c9a46a86df530b3b7845d830eb50a8596c5a2f5a34f7df2666eec264426" }, "downloads": -1, "filename": "pyphonetics-0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "5cd7510193dab6f1ea02935b487389e3", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 17266, "upload_time": "2016-11-17T00:30:06", "url": "https://files.pythonhosted.org/packages/b2/e8/20b679f4632c7768a17466067d36f9c6be2dcc50a6f3c234d6d6c3474ffc/pyphonetics-0.4-py3-none-any.whl" } ], "0.4.1": [ { "comment_text": "", "digests": { "md5": "9d5b402803a7d1ba0f6ed847405af042", "sha256": "b546beac9392f36d5582aa64f77fb908fb797cf3fd1ea3d0648e2ac606c5acf7" }, "downloads": -1, "filename": "pyphonetics-0.4.1-py3-none-any.whl", "has_sig": false, "md5_digest": "9d5b402803a7d1ba0f6ed847405af042", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 17233, "upload_time": "2016-11-17T00:36:13", "url": "https://files.pythonhosted.org/packages/69/4a/542ceaa0f205bdb26bdfe479f24667cbc24d927082553711f88f4b888509/pyphonetics-0.4.1-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9d5b402803a7d1ba0f6ed847405af042", "sha256": "b546beac9392f36d5582aa64f77fb908fb797cf3fd1ea3d0648e2ac606c5acf7" }, "downloads": -1, "filename": "pyphonetics-0.4.1-py3-none-any.whl", "has_sig": false, "md5_digest": "9d5b402803a7d1ba0f6ed847405af042", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 17233, "upload_time": "2016-11-17T00:36:13", "url": "https://files.pythonhosted.org/packages/69/4a/542ceaa0f205bdb26bdfe479f24667cbc24d927082553711f88f4b888509/pyphonetics-0.4.1-py3-none-any.whl" } ] }