{ "info": { "author": "Hao-Yuan Chen", "author_email": "truecirclely@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# rukip\nAn Embedded CKIP Rasa NLU Components\n\n## Introduction\nThis open-source library implements [Rasa](https://github.com/RasaHQ/rasa) custom components. \n\nIt offers```tokenizer``` and ```featurizer``` powered by [ckiptagger](https://github.com/ckiplab/ckiptagger) as components in RasaNLU pipeline.\n\n## Installation\n```bash\npip install rukip\n```\nrukip is a python library hosted on PyPI. Requirements:\n\n* python >= 3.6\n* rasa >= 1.4.0\n* ckiptagger[tf] >= 0.0.19\n\n## Usage\n\n### Download model files\nThe model files are available on several mirror sites.\n\n- [iis-ckip](http://ckip.iis.sinica.edu.tw/data/ckiptagger/data.zip)\n- [gdrive-ckip](https://drive.google.com/drive/folders/105IKCb88evUyLKlLondvDBoh7Dy_I1tm)\n- [gdrive-jacobvsdanniel](https://drive.google.com/drive/folders/15BDjL2IaX3eYdFVzT422VwCb743Hrbi3)\n\nYou can download and extract to the desired path by the following steps:\n\n1. Downloads to ```./data.zip``` \n2. Extracts to ```./data/```\n\nAdd ```CKIPTokenizer``` component into rasa nlu pipeline and configure model_path as ```./data```. \n\nThe following is the example ***Rasa NLU config file*** \n\n```yaml\n language: \"zh\"\n pipeline:\n - name: \"rukip.tokenizer.CKIPTokenizer\"\n model_path: \"./data\"\n - name: \"rukip.featurizer.CKIPFeaturizer\"\n model_path: \"./data\"\n token_features: [\"word\", \"pos\"]\n - name: \"CRFEntityExtractor\"\n features: [[\"ner_features\"], [\"ner_features\"], [\"ner_features\"]]\n - name: \"CountVectorsFeaturizer\"\n - name: \"EmbeddingIntentClassifier\"\n\n```\n\n### Components\n#### CKIPTokenizer\nThis component has **one** required field (model_path) to be configured and offers **two** optional fields for user to assign dictionaries.\n\n* ```recommend_dict_path ``` is the file containing list of user-defined recommended-word. Default is ```None```\n* ```cooerce_dict_path``` is the file containing a list of must-word. Default is ```None```\n\nThe following is the example of user-defined dictionary. Each line shows one pair of word and weight.\n\n```\n\u571f\u5730\u516c 1\n\u571f\u5730\u5a46 1\n\u516c\u6709 2\n\u4f86\u4e82\u7684 1\n\u7def\u4f86\u9ad4\u80b2\u53f0 1\n\n``` \n\n#### CKIPFeaturizer\nThis component has **one** required field (model_path) to be configured and offers another optional fields for user to assign.\n\n* ```token_features ``` is list of features extracted from ckiptagger to generate ```ner_features```. Default is ```[\"word\", \"pos\"]```\n\n## Development\n```bash\n$> git clone git@github.com:circlelychen/rukip.git\n$> pip install -r requirements-to-freeze.dev.txt\n$> make test\n```\n\n## License\nlicensed under the GNU General Public License v3.0\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/circlelychen/rukip", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "rukip", "package_url": "https://pypi.org/project/rukip/", "platform": "", "project_url": "https://pypi.org/project/rukip/", "project_urls": { "Homepage": "https://github.com/circlelychen/rukip" }, "release_url": "https://pypi.org/project/rukip/0.0.6/", "requires_dist": [ "rasa (<1.7,>=1.4.0)", "ckiptagger[tf] (>=0.0.19)" ], "requires_python": ">=3.6", "summary": "An Embedded CKIP Rasa NLU Components", "version": "0.0.6", "yanked": false, "yanked_reason": null }, "last_serial": 6389408, "releases": { "0.0.2": [ { "comment_text": "", "digests": { "md5": "e15a479892462534f87862ecd1463c0b", "sha256": "a53dcfd971c9f6d8eac27097c3f6854d7d4ad60e9c1e6c2a405bb4f546fc1f52" }, "downloads": -1, "filename": "rukip-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "e15a479892462534f87862ecd1463c0b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 16428, "upload_time": "2019-10-22T09:56:45", "upload_time_iso_8601": "2019-10-22T09:56:45.943936Z", "url": "https://files.pythonhosted.org/packages/37/75/b5f776535f946297d438253c9e255605b2a230bdeda508ab393b4746fa12/rukip-0.0.2-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "486a11b930efb76ca8017962794e9cf3", "sha256": "d1bf51c05535a06c5d6180379a2dae265f1991c29423f66f43cd1a696da2b9e1" }, "downloads": -1, "filename": "rukip-0.0.2.tar.gz", "has_sig": false, "md5_digest": "486a11b930efb76ca8017962794e9cf3", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 3724, "upload_time": "2019-10-22T09:56:49", "upload_time_iso_8601": "2019-10-22T09:56:49.798737Z", "url": "https://files.pythonhosted.org/packages/40/7e/f061d774af55b18cd9313cafb216240739906e66bc5954ca3cbc4ccfcee1/rukip-0.0.2.tar.gz", "yanked": false, "yanked_reason": null } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "f8607085a765d60be28af1112c089a11", "sha256": "30e87566c2df9741cab642213c5214e6fe19785d9af8099cfdeb6e75f6035a0e" }, "downloads": -1, "filename": "rukip-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "f8607085a765d60be28af1112c089a11", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 16422, "upload_time": "2019-10-22T10:21:59", "upload_time_iso_8601": "2019-10-22T10:21:59.845248Z", "url": "https://files.pythonhosted.org/packages/56/fd/c7be40f4a9464fed16f83355a1d3475e63fb32496f802cceb03c3767ad9d/rukip-0.0.3-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "095be210028ab2ef8438d68d0996ae6f", "sha256": "74fe1e30ee18cd1e7aa241fc4c9896c1055cd3d1d9e2a366b7a511dc4ab09ca9" }, "downloads": -1, "filename": "rukip-0.0.3.tar.gz", "has_sig": false, "md5_digest": "095be210028ab2ef8438d68d0996ae6f", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 3729, "upload_time": "2019-10-22T10:22:02", "upload_time_iso_8601": "2019-10-22T10:22:02.299437Z", "url": "https://files.pythonhosted.org/packages/41/01/b9c50f9e51a58fd93b36e777ece6da0e89844387a7c0948b98ed3e9692f3/rukip-0.0.3.tar.gz", "yanked": false, "yanked_reason": null } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "555716da35652be34ab03ac29a3cda24", "sha256": "bc2a7bfff4c698679cd34a9130a103640bf31f06f833beb3774da55e0fe05090" }, "downloads": -1, "filename": "rukip-0.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "555716da35652be34ab03ac29a3cda24", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 17642, "upload_time": "2019-10-24T01:21:27", "upload_time_iso_8601": "2019-10-24T01:21:27.644027Z", "url": "https://files.pythonhosted.org/packages/dd/97/9c03681747085da2763c5c905cb8a2a05576f68567c36ef23dc5b7488fa8/rukip-0.0.4-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "4231850507ec636c60785191ddece0ba", "sha256": "6291ac7355d28b339020c03c54b03de28ae319f659b02c088eb04d8658dbeefe" }, "downloads": -1, "filename": "rukip-0.0.4.tar.gz", "has_sig": false, "md5_digest": "4231850507ec636c60785191ddece0ba", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 4235, "upload_time": "2019-10-24T01:21:29", "upload_time_iso_8601": "2019-10-24T01:21:29.495540Z", "url": "https://files.pythonhosted.org/packages/51/43/6ef362a7f6b74391bf25b4bb8896d339b517549a69de4e6bc4053cca114e/rukip-0.0.4.tar.gz", "yanked": false, "yanked_reason": null } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "1408495f2f3fcb96de658ae104837dbf", "sha256": "0bb039f5a1442b3ff1e32ba7f72df79fe91d4c1315d118580a58507695c2e813" }, "downloads": -1, "filename": "rukip-0.0.5-py3-none-any.whl", "has_sig": false, "md5_digest": "1408495f2f3fcb96de658ae104837dbf", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 17641, "upload_time": "2019-11-30T18:01:12", "upload_time_iso_8601": "2019-11-30T18:01:12.423751Z", "url": "https://files.pythonhosted.org/packages/33/4f/5bab8a35711560bb86c5e543b9942da1b41c45802f35e94547ffe489a11a/rukip-0.0.5-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "11b6171c925e09e6180fd8838247988b", "sha256": "d5e75f29cfb9b96164c8d961e096746e5192c9b0ebf890574d98bc517297af00" }, "downloads": -1, "filename": "rukip-0.0.5.tar.gz", "has_sig": false, "md5_digest": "11b6171c925e09e6180fd8838247988b", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 4238, "upload_time": "2019-11-30T18:01:14", "upload_time_iso_8601": "2019-11-30T18:01:14.276367Z", "url": "https://files.pythonhosted.org/packages/36/a0/75062ab90b1ce0b3ca8863d8c8088cb682de8d2f369762497b08c682cc28/rukip-0.0.5.tar.gz", "yanked": false, "yanked_reason": null } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "b255dab0d666c72f0a59008b23688137", "sha256": "1ba74e90c1f7a94c7c04cae799a04f93ad33b629b78857742348887ebdc7dc3d" }, "downloads": -1, "filename": "rukip-0.0.6-py3-none-any.whl", "has_sig": false, "md5_digest": "b255dab0d666c72f0a59008b23688137", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 19428, "upload_time": "2020-01-03T04:29:58", "upload_time_iso_8601": "2020-01-03T04:29:58.054260Z", "url": "https://files.pythonhosted.org/packages/8b/96/9bf8fe84ab040e39564f0a169f62d4457a9bc352ba7003a6568a348c72ae/rukip-0.0.6-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "fca1c0825bfa894341a17d191cf92729", "sha256": "47587b060d2131467a37b9f16ff90c6a2d625b32b28f5486860be354583e2327" }, "downloads": -1, "filename": "rukip-0.0.6.tar.gz", "has_sig": false, "md5_digest": "fca1c0825bfa894341a17d191cf92729", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 4291, "upload_time": "2020-01-03T04:29:59", "upload_time_iso_8601": "2020-01-03T04:29:59.948467Z", "url": "https://files.pythonhosted.org/packages/8c/1a/37d7b86201e7462be4a97e347decba4cb29cc1584ada511147cc5677931a/rukip-0.0.6.tar.gz", "yanked": false, "yanked_reason": null } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b255dab0d666c72f0a59008b23688137", "sha256": "1ba74e90c1f7a94c7c04cae799a04f93ad33b629b78857742348887ebdc7dc3d" }, "downloads": -1, "filename": "rukip-0.0.6-py3-none-any.whl", "has_sig": false, "md5_digest": "b255dab0d666c72f0a59008b23688137", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 19428, "upload_time": "2020-01-03T04:29:58", "upload_time_iso_8601": "2020-01-03T04:29:58.054260Z", "url": "https://files.pythonhosted.org/packages/8b/96/9bf8fe84ab040e39564f0a169f62d4457a9bc352ba7003a6568a348c72ae/rukip-0.0.6-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "fca1c0825bfa894341a17d191cf92729", "sha256": "47587b060d2131467a37b9f16ff90c6a2d625b32b28f5486860be354583e2327" }, "downloads": -1, "filename": "rukip-0.0.6.tar.gz", "has_sig": false, "md5_digest": "fca1c0825bfa894341a17d191cf92729", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 4291, "upload_time": "2020-01-03T04:29:59", "upload_time_iso_8601": "2020-01-03T04:29:59.948467Z", "url": "https://files.pythonhosted.org/packages/8c/1a/37d7b86201e7462be4a97e347decba4cb29cc1584ada511147cc5677931a/rukip-0.0.6.tar.gz", "yanked": false, "yanked_reason": null } ], "vulnerabilities": [] }