## DeepSim
This toolkit provides deep learning-based similarity utilities.
### Example
```python
'''models for type
BERT:
shibing624/text2vec-base-chinese
sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2
hfl/chinese-macbert-base:
uer/roberta-medium-wwm-chinese-cluecorpussmall
hfl/chinese-roberta-wwm-ext
Langboat/mengzi-bert-base
WMD:
w2v-light-tencent-chinese
'''
from deepsim import *
sim_utils=SimilarityUtils(type='w2v')
list_r=sim_utils.get_similarity('I like you!','I love you!')
print(list_r)
```
### License
The `deepsim` project is provided by [Donghua Chen](https://github.com/dhchenx).
Raw data
{
"_id": null,
"home_page": "https://github.com/dhchenx/deepsim",
"name": "deepsim",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6, <4",
"maintainer_email": "",
"keywords": "text similarity",
"author": "Donghua Chen",
"author_email": "douglaschan@126.com",
"download_url": "https://files.pythonhosted.org/packages/d6/b5/26e75bfc19fc2139cd754ed07a2980269eb653ef6143c5dae9b832578fe0/deepsim-0.0.1a0.tar.gz",
"platform": null,
"description": "## DeepSim\r\nThis toolkit provides deep learning-based similarity utilities. \r\n\r\n### Example\r\n\r\n```python\r\n'''models for type\r\nBERT: \r\nshibing624/text2vec-base-chinese\r\nsentence-transformers/paraphrase-multilingual-MiniLM-L12-v2\r\nhfl/chinese-macbert-base: \r\nuer/roberta-medium-wwm-chinese-cluecorpussmall\r\nhfl/chinese-roberta-wwm-ext\r\nLangboat/mengzi-bert-base\r\nWMD: \r\nw2v-light-tencent-chinese\r\n'''\r\nfrom deepsim import *\r\nsim_utils=SimilarityUtils(type='w2v')\r\nlist_r=sim_utils.get_similarity('I like you!','I love you!')\r\nprint(list_r)\r\n\r\n```\r\n\r\n### License\r\nThe `deepsim` project is provided by [Donghua Chen](https://github.com/dhchenx). \r\n",
"bugtrack_url": null,
"license": "BSD-3",
"summary": "This toolkit provides deep learning-based similarity utilities.",
"version": "0.0.1a0",
"project_urls": {
"Bug Reports": "https://github.com/dhchenx/deepsim/issues",
"Homepage": "https://github.com/dhchenx/deepsim",
"Source": "https://github.com/dhchenx/deepsim"
},
"split_keywords": [
"text",
"similarity"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "359e420d21831e185880eed5c8e9de9d7060c3bf1fb08c853457c10878c771e5",
"md5": "70cb9a82ab25e5b384f918404ea397e9",
"sha256": "680437c053fbef521bc5ff4d9db781adba146f93e95452d432fd3f0e1a11b18d"
},
"downloads": -1,
"filename": "deepsim-0.0.1a0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "70cb9a82ab25e5b384f918404ea397e9",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6, <4",
"size": 5238,
"upload_time": "2023-05-06T10:08:31",
"upload_time_iso_8601": "2023-05-06T10:08:31.791418Z",
"url": "https://files.pythonhosted.org/packages/35/9e/420d21831e185880eed5c8e9de9d7060c3bf1fb08c853457c10878c771e5/deepsim-0.0.1a0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "d6b526e75bfc19fc2139cd754ed07a2980269eb653ef6143c5dae9b832578fe0",
"md5": "70c69c9adb8f4b74cc6ee9f0acddc805",
"sha256": "46ff9aa93f7475655a6f892016ec1f3fceb1d4979b9edf323d7cf47b0334080c"
},
"downloads": -1,
"filename": "deepsim-0.0.1a0.tar.gz",
"has_sig": false,
"md5_digest": "70c69c9adb8f4b74cc6ee9f0acddc805",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6, <4",
"size": 7455,
"upload_time": "2023-05-06T10:08:34",
"upload_time_iso_8601": "2023-05-06T10:08:34.217054Z",
"url": "https://files.pythonhosted.org/packages/d6/b5/26e75bfc19fc2139cd754ed07a2980269eb653ef6143c5dae9b832578fe0/deepsim-0.0.1a0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-05-06 10:08:34",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "dhchenx",
"github_project": "deepsim",
"github_not_found": true,
"lcname": "deepsim"
}