{ "info": { "author": "felix", "author_email": "felix2@foxmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: Implementation", "Topic :: Software Development :: Libraries" ], "description": "# cbot \n## a chinese chat robot\n### Introduction to cbot usage\uff1a\n##### version\uff1a0.1.0\n####how to install cbot:\n#####pip install cbot\n#####if you got an error when install python-Levenshtein package\n#####you can download .whl file and install this package:[python-levenshtein](https://www.lfd.uci.edu/~gohlke/pythonlibs/#python-levenshtein)\n####If you want to use it locally:\n```angular2html\nfrom cbot import CBot\ncbot = CBot('cbotName')\n\n# If you start from scratch\n# cbot.train()\n# while True:\n# que = input('me\uff1a')\n# reponse = cbot.get_response(str(que))\n# print('cbot\uff1a', reponse)\n\n\n# If you want to train some data first\n# The data set must be list type.\n# And the next sentence is the answer to the last sentence.\ntrainList = [\n '\u65e9',\n '\u65e9\u4e0a\u597d',\n '\u65e9\u996d\u5403\u4e86\u4e48',\n '\u8fd8\u6ca1\u5462\uff01\uff0c\u4f60\u5462\uff1f',\n '\u6211\u4e5f\u6ca1\u5403',\n '\u6211\u4eec\u4e00\u8d77\u5403\u65e9\u996d\u53bb\u5427',\n '\u597d\u5440'\n]\n\ncbot.train(trainList)\nwhile True:\n que = input('me\uff1a')\n reponse = cbot.get_response(str(que))\n print('cbot\uff1a', reponse)\n```\n####If you want to use it with turing api:\n```angular2html\nfrom cbot import CBot\n\ncbot = CBot('felix')\ncbot.turing_key = '' # you should git an api key at http://www.tuling123.com/\nwhile True:\n que = input('\u6211\uff1a')\n reponse = cbot.get_response(str(que), api='turing')\n print('CBot\uff1a', reponse)\n```\n\n###Now have fun!\n###If you get a bug,you can send the bug to my email.\n###Here is my email:felix2@foxmail.com", "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/wangyitao/cbot", "keywords": "", "license": "MIT License", "maintainer": "felix", "maintainer_email": "felix2@foxmail.com", "name": "cbot", "package_url": "https://pypi.org/project/cbot/", "platform": "ubuntu", "project_url": "https://pypi.org/project/cbot/", "project_urls": { "Homepage": "https://github.com/wangyitao/cbot" }, "release_url": "https://pypi.org/project/cbot/0.1.4.3/", "requires_dist": null, "requires_python": "", "summary": "A chinese chat bot", "version": "0.1.4.3" }, "last_serial": 4393119, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "6dcb997a50fa8d28b2f3433a0bef60d3", "sha256": "acce56fc781a4fa26e4fd20d5ffd03fa3ce0a55c3915b59dc552b2f2dd969209" }, "downloads": -1, "filename": "cbot-0.1.1.tar.gz", "has_sig": false, "md5_digest": "6dcb997a50fa8d28b2f3433a0bef60d3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13520, "upload_time": "2018-10-19T04:10:29", "url": "https://files.pythonhosted.org/packages/f6/b7/7c7d340755a28051501cd409c3d74edcf693d66c3ebc61dd9a4edc9c6291/cbot-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "e4bfb6f2196be19e7476a6488981d8f8", "sha256": "eb733ef0a60b8d4d71c938312d5e1400865be2ac4a0dcec1892eb1b784306030" }, "downloads": -1, "filename": "cbot-0.1.2.tar.gz", "has_sig": false, "md5_digest": "e4bfb6f2196be19e7476a6488981d8f8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13693, "upload_time": "2018-10-19T04:34:48", "url": "https://files.pythonhosted.org/packages/1c/03/b3f8a32563b17cd1b5fc3f87d7a051cf78f36856c3c35026293972677e5b/cbot-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "7ecc56f65aa8d3374f0feaec195ed7b5", "sha256": "6076cff9db7f81d500001fb6dd6304afe7cdca3ddf8221e758463639321e8c8f" }, "downloads": -1, "filename": "cbot-0.1.3.tar.gz", "has_sig": false, "md5_digest": "7ecc56f65aa8d3374f0feaec195ed7b5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19317, "upload_time": "2018-10-19T05:30:04", "url": "https://files.pythonhosted.org/packages/8a/a7/753957f8eabad617eb1333c6ddd8cd9aab0820b52b8cf8c573b2b8f61983/cbot-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "13aa73306be3ffa7b43d7ced87a2ab7a", "sha256": "2bf0e581a7aa81bae2426a5fa7de7d0ed1196b25e7a9adefb31b41320fc3a4d9" }, "downloads": -1, "filename": "cbot-0.1.4.tar.gz", "has_sig": false, "md5_digest": "13aa73306be3ffa7b43d7ced87a2ab7a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19763, "upload_time": "2018-10-19T05:58:30", "url": "https://files.pythonhosted.org/packages/2e/7e/29b2b88d1d01b454b7a2b984fe247e89db2e5d279c03f3f8c3104dd976ce/cbot-0.1.4.tar.gz" } ], "0.1.4.1": [ { "comment_text": "", "digests": { "md5": "da14ac1503d70552c2333d79dd52ef7f", "sha256": "6181d8b52e48da345a86bdf057cec78dab1865b835b23778422c79afadc993ff" }, "downloads": -1, "filename": "cbot-0.1.4.1.tar.gz", "has_sig": false, "md5_digest": "da14ac1503d70552c2333d79dd52ef7f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19751, "upload_time": "2018-10-19T06:41:32", "url": "https://files.pythonhosted.org/packages/41/47/bba77d2351694b97c6b95ec97e8dbd3dfff30d4cd709d0cedf23763bf981/cbot-0.1.4.1.tar.gz" } ], "0.1.4.2": [ { "comment_text": "", "digests": { "md5": "2276f187c1672dd7f71b60382d479099", "sha256": "7c1c7c26928ddf4329115bb034ff172f70e316e1e59c19253856a7dc51d3605d" }, "downloads": -1, "filename": "cbot-0.1.4.2.tar.gz", "has_sig": false, "md5_digest": "2276f187c1672dd7f71b60382d479099", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19762, "upload_time": "2018-10-19T06:49:07", "url": "https://files.pythonhosted.org/packages/6c/d9/b35f0883ecf3b3c7822f1f8a16727766131d3880dd619c32494313fae25b/cbot-0.1.4.2.tar.gz" } ], "0.1.4.3": [ { "comment_text": "", "digests": { "md5": "697b9c88a20c57e335f6b67166b299c4", "sha256": "1b065be60f88443755683e852c40bdb8e02f9c14b97026781ce4e13a97b1f6c7" }, "downloads": -1, "filename": "cbot-0.1.4.3.tar.gz", "has_sig": false, "md5_digest": "697b9c88a20c57e335f6b67166b299c4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19776, "upload_time": "2018-10-19T07:07:23", "url": "https://files.pythonhosted.org/packages/cd/b3/b887c9301b033dfd8dbb09882bb18e157688a4cba549d46906a2f10421ca/cbot-0.1.4.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "697b9c88a20c57e335f6b67166b299c4", "sha256": "1b065be60f88443755683e852c40bdb8e02f9c14b97026781ce4e13a97b1f6c7" }, "downloads": -1, "filename": "cbot-0.1.4.3.tar.gz", "has_sig": false, "md5_digest": "697b9c88a20c57e335f6b67166b299c4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19776, "upload_time": "2018-10-19T07:07:23", "url": "https://files.pythonhosted.org/packages/cd/b3/b887c9301b033dfd8dbb09882bb18e157688a4cba549d46906a2f10421ca/cbot-0.1.4.3.tar.gz" } ] }