{ "info": { "author": "Ora", "author_email": "victor.xsyang@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# [![Version][version-badge]][version-link] ![MIT License][license-badge]\n\n\ncompute similar scores of two strings\n\n`TextSimilarScore`\u8fd9\u662f\u4e2a\u8ba1\u7b97\u4e24\u4e2a\u77ed\u6587\u672c\u76f8\u4f3c\u5ea6\u7684\u7b97\u6cd5\n\n# \u5b89\u88c5\u65b9\u6cd5\n```pip install TextSimilarScore```\n\n```pip install -r resuirements.txt```\n# \u4f7f\u7528\u65b9\u6cd5\n```\nimport TextSimilarScore.tools.TextSim as ts\ntest = ts.TextSimilarity('\u4e2d\u79fb\u5728\u7ebf\u5168\u94fe\u8def\u667a\u80fd\u5316\u7cfb\u7edf\u7814\u53d1\u9879\u76ee', '\u4e2d\u79fb\u5728\u7ebf\u5168\u56fd\u667a\u80fd\u8def\u7531\u51b3\u7b56\u9879\u76ee')\n# \u8ba1\u7b97\u8fde\u7eed\u6700\u957f\u516c\u5171\u5b50\u4e32\u7684\u8ddd\u79bb\nprint(test.lcs())\n# \u8ba1\u7b97\u7f16\u8f91\u8ddd\u79bb\nprint(test.minimumEditDistance())\n# \u57fa\u4e8etf-idf\u8ba1\u7b97\u8ddd\u79bb\nprint(test.splitWordSimlaryty())\n# \u8ba1\u7b97JaccardSim\u7cfb\u6570\nprint(test.JaccardSim())\n```\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/shawshany/TextSimilarScore", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "TextSimilarScore", "package_url": "https://pypi.org/project/TextSimilarScore/", "platform": "", "project_url": "https://pypi.org/project/TextSimilarScore/", "project_urls": { "Homepage": "https://github.com/shawshany/TextSimilarScore" }, "release_url": "https://pypi.org/project/TextSimilarScore/0.0.2/", "requires_dist": null, "requires_python": ">=3.*", "summary": "compute similar scores of two text", "version": "0.0.2" }, "last_serial": 5860807, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "03307f352c01fde6ef1e1dcbdad6fb85", "sha256": "9b42cc4aba7b6dd263adb20ff4292d410780a7a975cda7699743d4c28944a425" }, "downloads": -1, "filename": "TextSimilarScore-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "03307f352c01fde6ef1e1dcbdad6fb85", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.*", "size": 6087, "upload_time": "2019-09-16T06:31:49", "url": "https://files.pythonhosted.org/packages/00/2e/c039927b72640199ee05e0909bf648fe86aa752b5ae87c0ddc09c9d5428f/TextSimilarScore-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "273be5b6c9678c14e041d911206fded1", "sha256": "3d60d9bfbca9808e2b27af5f0221376995030ec0175eefe3c7e53059bb05b9e9" }, "downloads": -1, "filename": "TextSimilarScore-0.0.1.tar.gz", "has_sig": false, "md5_digest": "273be5b6c9678c14e041d911206fded1", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.*", "size": 4185, "upload_time": "2019-09-16T06:31:51", "url": "https://files.pythonhosted.org/packages/1c/77/e93c3b8d6b9a6a744f688636e973e871869b530a79dbf8c83c6320ae9df0/TextSimilarScore-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "d8ddb27bae63303460008694eaa0fbaf", "sha256": "74e485144bc677398f08c2e46b2b2f6dc477b506255f8b41595516a82a074635" }, "downloads": -1, "filename": "TextSimilarScore-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "d8ddb27bae63303460008694eaa0fbaf", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.*", "size": 6103, "upload_time": "2019-09-20T08:38:59", "url": "https://files.pythonhosted.org/packages/c6/9e/c7fc919810b0cc556a17f8a27f16a59ec2bdaffe9706e899a78ad3873ebc/TextSimilarScore-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2c9c798b742c25b3d0759c5cb855d87c", "sha256": "5d4004ab3133506ca79341d4028354f6d5c93c8131c09aa007bed048dde832ff" }, "downloads": -1, "filename": "TextSimilarScore-0.0.2.tar.gz", "has_sig": false, "md5_digest": "2c9c798b742c25b3d0759c5cb855d87c", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.*", "size": 4204, "upload_time": "2019-09-20T08:39:01", "url": "https://files.pythonhosted.org/packages/c4/67/afe66896ef6cd2891195db82119c87e767f7cf23ae083673be8d6079542a/TextSimilarScore-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d8ddb27bae63303460008694eaa0fbaf", "sha256": "74e485144bc677398f08c2e46b2b2f6dc477b506255f8b41595516a82a074635" }, "downloads": -1, "filename": "TextSimilarScore-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "d8ddb27bae63303460008694eaa0fbaf", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.*", "size": 6103, "upload_time": "2019-09-20T08:38:59", "url": "https://files.pythonhosted.org/packages/c6/9e/c7fc919810b0cc556a17f8a27f16a59ec2bdaffe9706e899a78ad3873ebc/TextSimilarScore-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2c9c798b742c25b3d0759c5cb855d87c", "sha256": "5d4004ab3133506ca79341d4028354f6d5c93c8131c09aa007bed048dde832ff" }, "downloads": -1, "filename": "TextSimilarScore-0.0.2.tar.gz", "has_sig": false, "md5_digest": "2c9c798b742c25b3d0759c5cb855d87c", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.*", "size": 4204, "upload_time": "2019-09-20T08:39:01", "url": "https://files.pythonhosted.org/packages/c4/67/afe66896ef6cd2891195db82119c87e767f7cf23ae083673be8d6079542a/TextSimilarScore-0.0.2.tar.gz" } ] }