{ "info": { "author": "Sergei Orlov", "author_email": "UNKNOWN", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: MacOS :: MacOS X", "Operating System :: POSIX", "Programming Language :: Python" ], "description": "Text Comparer\n=============\n\nUses cosine similarity to give a numerical evaluation of the similarity of two\ntexts (0 to 1).\n\nThis code has a companion blog-post here:\nhttp://engineering.aweber.com/cosine-similarity/\n\nSample Usage\n------------\n```python\nIn [1]: from vectorizer import compare_texts\n\nIn [2]: compare_texts('Mary had a little shotgun.', 'Mary loves her shotgun')\nOut[2]: 0.66666666666666663\n\nIn [3]: compare_texts('John loves Mary.', 'But Mary has a shotgun.')\nOut[3]: 0.33333333333333331\n```\n\nThe higher score in `2` implies that the first two sentences are more similar\nthan the second two. A classic tale of the love-linked-list.", "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/sergeio/text_comparer", "keywords": "", "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "text_comparer", "package_url": "https://pypi.org/project/text_comparer/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/text_comparer/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/sergeio/text_comparer" }, "release_url": "https://pypi.org/project/text_comparer/0.0.2/", "requires_dist": null, "requires_python": null, "summary": "Metric for comparing text", "version": "0.0.2" }, "last_serial": 960709, "releases": { "0.0.2": [ { "comment_text": "", "digests": { "md5": "8e37e9ab7b701406894fb76ab651c394", "sha256": "9bc15c52c880b0f4d6367d226fc1005a6aefb022b723827080105ddcb0d3eb0d" }, "downloads": -1, "filename": "text_comparer-0.0.2.tar.gz", "has_sig": false, "md5_digest": "8e37e9ab7b701406894fb76ab651c394", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2599, "upload_time": "2014-01-04T21:01:22", "url": "https://files.pythonhosted.org/packages/4c/dc/1404fda79c05f8aa2180e003a36859cdacb2c68b85465acf33abd9d97fd1/text_comparer-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8e37e9ab7b701406894fb76ab651c394", "sha256": "9bc15c52c880b0f4d6367d226fc1005a6aefb022b723827080105ddcb0d3eb0d" }, "downloads": -1, "filename": "text_comparer-0.0.2.tar.gz", "has_sig": false, "md5_digest": "8e37e9ab7b701406894fb76ab651c394", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2599, "upload_time": "2014-01-04T21:01:22", "url": "https://files.pythonhosted.org/packages/4c/dc/1404fda79c05f8aa2180e003a36859cdacb2c68b85465acf33abd9d97fd1/text_comparer-0.0.2.tar.gz" } ] }