{ "info": { "author": "Javen Chen", "author_email": "applecer@pku.edu.cn", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Education", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: MacOS", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 3.6" ], "description": "# Jieba Op for Tensorflow\n\n## Intro\n\nThis is a tensorflow wrapper for the cpp version of the famous Chinese\nword segmentation tool, [cppjieba](https://github.com/yanyiwu/cppjieba).\n\nI made some changes from the original cppjieba. This is \n[my fork of cppjieba](https://github.com/applenob/cppjieba).\n\nMost code of this repo are from Didi's deep learning language platform:\n[Delta](https://github.com/didi/delta)\n\n## Install\n\n```bash\npip install tf-jieba\n```\n\n## Usage\n\n1. Clone the cppjieba repository for resource files like model and dict\n files.\n\n```bash\ngit clone https://github.com/applenob/cppjieba.git\n```\n\n2. Download or copy the test python script `custom_test.py` to the same\n project. You should have `cppjieba` and `custom_test.py` under your\n test directory now.\n\n```\npython3 custom_test.py\n```\n\nDemo output:\n\n![](imgs/jieba_res.png)\n\n## Support Platform \n\n- python == 3.6\n- tensorflow >= 1.14.0\n- OS: MacOS / Linux\n\nPlease refer to [my Chinese blog post](https://applenob.github.io/tensorflow/tf_jieba/) for more detail.\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "https://github.com/applenob/tf_jieba/tarball/2019-10-21", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/applenob/tf_jieba", "keywords": "", "license": "", "maintainer": "Javen Chen", "maintainer_email": "applecer@pku.edu.cn", "name": "tf-jieba", "package_url": "https://pypi.org/project/tf-jieba/", "platform": "Windows", "project_url": "https://pypi.org/project/tf-jieba/", "project_urls": { "Download": "https://github.com/applenob/tf_jieba/tarball/2019-10-21", "Homepage": "https://github.com/applenob/tf_jieba" }, "release_url": "https://pypi.org/project/tf-jieba/0.3/", "requires_dist": null, "requires_python": "", "summary": "Tensorflow Operation Wrapper of cppjieba (Chinese Word Segamentation)", "version": "0.3", "yanked": false, "yanked_reason": null }, "last_serial": 6006878, "releases": { "0.2": [ { "comment_text": "", "digests": { "md5": "8a7529a5a1dad0e3646dbc6daa402045", "sha256": "0f0fbb076700f337175e2c5c68517ac1fc8b93901887a2fccc89b31b678e753f" }, "downloads": -1, "filename": "tf_jieba-0.2-cp36-cp36m-macosx_10_7_x86_64.whl", "has_sig": false, "md5_digest": "8a7529a5a1dad0e3646dbc6daa402045", "packagetype": "bdist_wheel", "python_version": "cp36", "requires_python": null, "size": 79822, "upload_time": "2019-10-20T03:05:56", "upload_time_iso_8601": "2019-10-20T03:05:56.946821Z", "url": "https://files.pythonhosted.org/packages/7a/fc/1605b7cd013c4a2932e6589815153d298baefb0d399f500ba06fb6432839/tf_jieba-0.2-cp36-cp36m-macosx_10_7_x86_64.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "f6ade58e49f27659698fe08ad6673e3e", "sha256": "4781d0789d7ef9153d0ab9d93fb084320697fa34d35b8aaea6b5d924a999c433" }, "downloads": -1, "filename": "tf_jieba-0.2-cp36-cp36m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "f6ade58e49f27659698fe08ad6673e3e", "packagetype": "bdist_wheel", "python_version": "cp36", "requires_python": null, "size": 944954, "upload_time": "2019-10-20T06:59:00", "upload_time_iso_8601": "2019-10-20T06:59:00.742782Z", "url": "https://files.pythonhosted.org/packages/c1/5a/b27fdb5fd07519d1c320958a35576d0373fa0a1aebc14fc4cdaf358d431b/tf_jieba-0.2-cp36-cp36m-manylinux1_x86_64.whl", "yanked": false, "yanked_reason": null } ], "0.3": [ { "comment_text": "", "digests": { "md5": "f61a334cc1b2f2a6ed7b3240fba12de9", "sha256": "a36e9c218448270cbfe19d30794482b4083c7b7c2d4151de0178da74d4148c7a" }, "downloads": -1, "filename": "tf_jieba-0.3-cp36-cp36m-macosx_10_7_x86_64.whl", "has_sig": false, "md5_digest": "f61a334cc1b2f2a6ed7b3240fba12de9", "packagetype": "bdist_wheel", "python_version": "cp36", "requires_python": null, "size": 4337707, "upload_time": "2019-10-21T11:34:22", "upload_time_iso_8601": "2019-10-21T11:34:22.732401Z", "url": "https://files.pythonhosted.org/packages/9a/07/89257efa14d1fd1da0c352ef7438d05cac4ac741fc26fc9fc5628c1c16fb/tf_jieba-0.3-cp36-cp36m-macosx_10_7_x86_64.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "1522973d7e75b4ffa4704e855cca1c60", "sha256": "181bcc2ded08c15cf3a07d668b70e3607ad44587fd8a0e063f3fcfa13be3dcc2" }, "downloads": -1, "filename": "tf_jieba-0.3-cp36-cp36m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "1522973d7e75b4ffa4704e855cca1c60", "packagetype": "bdist_wheel", "python_version": "cp36", "requires_python": null, "size": 5202841, "upload_time": "2019-10-21T11:42:25", "upload_time_iso_8601": "2019-10-21T11:42:25.256265Z", "url": "https://files.pythonhosted.org/packages/82/f7/f62ad9eb9bb8647684accd27b0a1c87368deb1dac1344717684968f3715e/tf_jieba-0.3-cp36-cp36m-manylinux1_x86_64.whl", "yanked": false, "yanked_reason": null } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f61a334cc1b2f2a6ed7b3240fba12de9", "sha256": "a36e9c218448270cbfe19d30794482b4083c7b7c2d4151de0178da74d4148c7a" }, "downloads": -1, "filename": "tf_jieba-0.3-cp36-cp36m-macosx_10_7_x86_64.whl", "has_sig": false, "md5_digest": "f61a334cc1b2f2a6ed7b3240fba12de9", "packagetype": "bdist_wheel", "python_version": "cp36", "requires_python": null, "size": 4337707, "upload_time": "2019-10-21T11:34:22", "upload_time_iso_8601": "2019-10-21T11:34:22.732401Z", "url": "https://files.pythonhosted.org/packages/9a/07/89257efa14d1fd1da0c352ef7438d05cac4ac741fc26fc9fc5628c1c16fb/tf_jieba-0.3-cp36-cp36m-macosx_10_7_x86_64.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "1522973d7e75b4ffa4704e855cca1c60", "sha256": "181bcc2ded08c15cf3a07d668b70e3607ad44587fd8a0e063f3fcfa13be3dcc2" }, "downloads": -1, "filename": "tf_jieba-0.3-cp36-cp36m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "1522973d7e75b4ffa4704e855cca1c60", "packagetype": "bdist_wheel", "python_version": "cp36", "requires_python": null, "size": 5202841, "upload_time": "2019-10-21T11:42:25", "upload_time_iso_8601": "2019-10-21T11:42:25.256265Z", "url": "https://files.pythonhosted.org/packages/82/f7/f62ad9eb9bb8647684accd27b0a1c87368deb1dac1344717684968f3715e/tf_jieba-0.3-cp36-cp36m-manylinux1_x86_64.whl", "yanked": false, "yanked_reason": null } ], "vulnerabilities": [] }