{"id":13486512,"url":"https://github.com/cyruschueng/love_bot","last_synced_at":"2025-03-27T20:33:26.357Z","repository":{"id":65663007,"uuid":"190859293","full_name":"cyruschueng/love_bot","owner":"cyruschueng","description":"💘💘💘恋爱聊天机器人 ，分析微信，陌陌微博等聊天记录机器学习对话，送给想恋爱的男生女生的聊天技巧","archived":false,"fork":false,"pushed_at":"2019-06-15T11:08:57.000Z","size":2465,"stargazers_count":31,"open_issues_count":1,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-30T21:37:50.483Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://zhuanlan.zhihu.com/p/69289834","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cyruschueng.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-06-08T07:35:24.000Z","updated_at":"2024-10-11T01:55:49.000Z","dependencies_parsed_at":"2023-02-03T02:31:44.260Z","dependency_job_id":null,"html_url":"https://github.com/cyruschueng/love_bot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyruschueng%2Flove_bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyruschueng%2Flove_bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyruschueng%2Flove_bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyruschueng%2Flove_bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cyruschueng","download_url":"https://codeload.github.com/cyruschueng/love_bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245920845,"owners_count":20694173,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T18:00:47.479Z","updated_at":"2025-03-27T20:33:25.917Z","avatar_url":"https://github.com/cyruschueng.png","language":"CSS","funding_links":[],"categories":["CSS"],"sub_categories":[],"readme":" 💘💘💘恋爱聊天机器人 ，分析微信，陌陌微博等聊天记录机器学习对话，送给想恋爱的男生女生的聊天技巧\n\n[![Build Status](https://travis-ci.org/euske/pdfminer.svg?branch=master)](https://github.com/cyruschueng/love_bot)[![Open Source Love](https://badges.frapsoft.com/os/v1/open-source.svg?v=103)](https://github.com/cyruschueng/love_bot) [![MIT Licence](https://badges.frapsoft.com/os/mit/mit.svg?v=103)](https://opensource.org/licenses/mit-license.php)      \n\n\n## 恋爱聊天机器人\n \n### 介绍\n\n \n\n恋爱聊天机器人,让你更懂的和男生和女生聊天，看看恋爱机器人是如何聊天的，最高效的提高你的情商。^_^哈啊哈\n- 测试地址\u003ca href=\"https://lucky.kuaiduodian.com/love_bot/web/index.html\"\u003e网页版恋爱机器人\u003c/a\u003e\n- 如果回到出现了生僻字可能是表情\n- \u003cimg src=\"./scraper/chat.gif\" title=\"Logo\"  width=\"300\"\u003e\n\n### 特性：\n \n\n* 自动识别微信对话\n* 自动识别陌陌对话\n* 采用BestMatch算法自动对话\n* 支持对话导入\n* chatterbot\n \n\n## 原理\n\n- 网络获取一大批微信或者陌陌聊天记录或者本人的聊天记录\n- 对每个聊天记录进行图像识别建立回话\n- 用chatterbot对会话进行训练\n- 采用HUG框架提供api接口\n- 打开网页输入就可以获得答案\n\n### 安装使用\n \n--------------\n\n * 安装 Python 2.7 or newer \n * 安装 chatterbot pip install chatterbot.(**chatterbot-1.0.5 比较耗时，需要比较大的内存至少1G**)\n * 安装 chatterbot_corpus pip install chatterbot_corpus\n * 安装 hug pip install hug\n * 安装CV2 pip install opencv-python\n * 安装OCR tesseract \n * 安装  pip install bottle\n * 下载此项目然后解压.\n * 执行 hug -f loveimgdeal.py\n * 执行下面可以测试:\n\t\t\n    $ 打开浏览器 输入 http://localhost:8000/get_response?user_input=Arron\n\n \n\n\n\n相关的项目\n----------------\n * \u003ca href=\"https://github.com/tesseract-ocr/tesseract\"\u003etesseract\u003c/a\u003e\n * \u003ca href=\"https://github.com/gunthercox/ChatterBot\"\u003eChatterBot\u003c/a\u003e\n * \u003ca href=\"https://github.com/hugapi/hug\"\u003ehug\u003c/a\u003e\n * \u003ca href=\"https://opencv.org/\"\u003eopencv\u003c/a\u003e\n \n\n\n ## 网络爬取了3千个对话（每晚凌晨2自动爬取5小时更新会话库)\n--------------------\n![](./scraper/get1.png)\n\n\n\nLICENSE and Conditions\n--------------------\n\n(This is so-called MIT/X License)\n\n \n欢迎 Star 和 Fork ~ (∩_∩) ~\n\n\n如果你有什么问题请提 Issue， \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcyruschueng%2Flove_bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcyruschueng%2Flove_bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcyruschueng%2Flove_bot/lists"}