没有项目描述
ChatterBot的Python项目详细描述
Chatterbot是一种机器学习,对话对话引擎。
主页:https://github.com/gunther cox/chatterbot
作者:gunther cox
作者电子邮件:gunthercx@gmail.com
许可证:bsd
下载网址:https://github.com/gunthercox/chatterbot/tarball/1.0.5
项目网址:documentation,https://chatterbot.readthedocs.io
描述:![chatterbot:machine learning in python](https://i.imgur.com/b3scmgt.png)
已知对话的。Chatterbot的独立语言设计允许它接受任何语言的训练。[包版本](https://img.shields.io/pypi/v/chatterbot.svg)(https://pypi.python.org/pypi/chatterbot/)
[![python 3.6](https://img.shields.io/badge/python-3.6-blue.svg)](https://www.python.org/downloads/release/python-360/)
[![django 2.0](https://img.shields.io/badge/django-2.0-blue.svg)](https://docs.djangoproject.com/en/2.1/releases/2.0/)
[![需求状态](https://requires.io/github/gunthercox/chatterbot/requirements.svg?branch=master)(https://requires.io/github/gunthercox/chatterbot/requirements/?分支=主)
[![构建状态](https://travis-ci.org/gunthercox/chatterbot.svg?branch=master)(https://travis ci.org/gunthercox/chatterbot)
[![文档状态](https://readthedocs.org/projects/chatterbot/badge/?版本=稳定](http://chatterbot.readthedocs.io/en/stable/?徽章=稳定)
[![覆盖状态](https://img.shields.io/covertalls/gunthercox/chatterbot.svg)(https://covertalls.io/r/gunthercox/chatterbot)
[![代码气候](https://codeculate.com/github/gunthercox/chatterbot/badges/gpa.svg)(https://codeculate.com/github/gunthercox/chatterbot)
[![在https://gitter.im/chatterbot/lobby](https://badges.gitter.im/chatterbot/lobby.svg)加入聊天室](https://gitter.im/chatterbot/lobby?utm_source=badge&utm_medium=badge&utm_content=badge)
典型输入示例如下:
>;**用户:**早上好!你好吗?
>;**机器人:**我做得很好,谢谢你的邀请。
>;**用户:**不客气。
>;**机器人:**你喜欢帽子吗?
每次用户输入语句时,库都会保存他们输入的文本和语句响应的文本。当chatterbot接收到更多的输入时,它可以回复的响应数和每个响应相对于输入语句的准确性都会增加。程序通过搜索与输入匹配的最接近的已知匹配语句来选择最接近的匹配响应,然后根据bot与之通信的人发出每个响应的频率,返回对该语句最可能的响应。
##安装
此包可以从[pypi]安装(https://pypi.python.org/pypi/chatterbot),方法是运行:
`````
pip install chatterbot
````
从Chatterbot导入Chatterbot
从Chatterbot导入Chatterbot。培训师导入Chatterbot控件
#根据英语语料库训练聊天机器人
trainer.train("chatterbot.corpus.english")
#获取对输入语句的响应
chatbot.get_response("你好,今天好吗?")
```
培训数据或其他语言的培训数据将非常受欢迎。如果您对贡献感兴趣,请查看[Chatterbot Corpus]包中的数据文件
(https://github.com/gunthercox/chatterbot corpus)
。
````
#为聊天机器人创建一个新的培训师trainer.train("chatterbot.corpus.english.greatings")
请发出请求。**
[文档](https://chatterbot.read the docs.io/)
你自己使用[sphinx](http://www.sphinx-doc.org/),运行:
`````
sphinx build-b html docs/build/
````
请参阅[示例](https://github.com/gunthercox/chatterbot/tree/master/example s)
此项目的git存储库中的目录。
还有一个示例[使用chatterbot的django项目](https://github.com/gunthercox/chatterbot/tree/master/examples),以及示例[使用chatterbot的烧瓶项目](https://github.com/chamkank/flask chatterbot)。
1.[创建一个fork](https://help.github.com/articles/fork-a-repo/)
Github上的[主要Chatterbot存储库](https://github.com/gunthercox/chatterbot)。
2.在名为"master"的分支中进行更改,例如创建一个新的分支"my pull request"。
3。[创建请求](https://help.github.com/articles/creating-a-pull-request/)。
4.请遵循[PEP-8的Python样式指南](https://www.python.org/dev/peps/pep-0008/)。
5.使用项目[内置自动测试](https://chatterbot.readthedocs.io/en/latest/testing.html)。
帮助确保您的贡献没有错误。
许可证](https://opensource.org/licenses/bsd-3-clause)。
bot
平台:任何
分类器:开发状态::4-beta
分类器:预期受众::开发人员
分类器:许可证::OSI批准::BSD许可证
分类器:环境::控制台
分类器:环境::Web环境
分类器:操作系统::操作系统独立的
分类器:主题::软件开发::库::python模块
分类器:主题::通信::聊天
分类器:主题::Internet
分类器:编程语言::python
分类器:编程语言::python::3
classifier:编程语言::python::3.4
分类器:编程语言::python::3.5
分类器:编程语言::python::3.6
分类器:编程语言::python::3.7
分类器:编程语言::python::3::仅
需要python:>;=3.4,<;4
描述内容类型:文本/标记
主页:https://github.com/gunther cox/chatterbot
作者:gunther cox
作者电子邮件:gunthercx@gmail.com
许可证:bsd
下载网址:https://github.com/gunthercox/chatterbot/tarball/1.0.5
项目网址:documentation,https://chatterbot.readthedocs.io
描述:![chatterbot:machine learning in python](https://i.imgur.com/b3scmgt.png)
已知对话的。Chatterbot的独立语言设计允许它接受任何语言的训练。[包版本](https://img.shields.io/pypi/v/chatterbot.svg)(https://pypi.python.org/pypi/chatterbot/)
[![python 3.6](https://img.shields.io/badge/python-3.6-blue.svg)](https://www.python.org/downloads/release/python-360/)
[![django 2.0](https://img.shields.io/badge/django-2.0-blue.svg)](https://docs.djangoproject.com/en/2.1/releases/2.0/)
[![需求状态](https://requires.io/github/gunthercox/chatterbot/requirements.svg?branch=master)(https://requires.io/github/gunthercox/chatterbot/requirements/?分支=主)
[![构建状态](https://travis-ci.org/gunthercox/chatterbot.svg?branch=master)(https://travis ci.org/gunthercox/chatterbot)
[![文档状态](https://readthedocs.org/projects/chatterbot/badge/?版本=稳定](http://chatterbot.readthedocs.io/en/stable/?徽章=稳定)
[![覆盖状态](https://img.shields.io/covertalls/gunthercox/chatterbot.svg)(https://covertalls.io/r/gunthercox/chatterbot)
[![代码气候](https://codeculate.com/github/gunthercox/chatterbot/badges/gpa.svg)(https://codeculate.com/github/gunthercox/chatterbot)
[![在https://gitter.im/chatterbot/lobby](https://badges.gitter.im/chatterbot/lobby.svg)加入聊天室](https://gitter.im/chatterbot/lobby?utm_source=badge&utm_medium=badge&utm_content=badge)
典型输入示例如下:
>;**用户:**早上好!你好吗?
>;**机器人:**我做得很好,谢谢你的邀请。
>;**用户:**不客气。
>;**机器人:**你喜欢帽子吗?
每次用户输入语句时,库都会保存他们输入的文本和语句响应的文本。当chatterbot接收到更多的输入时,它可以回复的响应数和每个响应相对于输入语句的准确性都会增加。程序通过搜索与输入匹配的最接近的已知匹配语句来选择最接近的匹配响应,然后根据bot与之通信的人发出每个响应的频率,返回对该语句最可能的响应。
##安装
此包可以从[pypi]安装(https://pypi.python.org/pypi/chatterbot),方法是运行:
`````
pip install chatterbot
````
从Chatterbot导入Chatterbot
从Chatterbot导入Chatterbot。培训师导入Chatterbot控件
#根据英语语料库训练聊天机器人
trainer.train("chatterbot.corpus.english")
#获取对输入语句的响应
chatbot.get_response("你好,今天好吗?")
```
培训数据或其他语言的培训数据将非常受欢迎。如果您对贡献感兴趣,请查看[Chatterbot Corpus]包中的数据文件
(https://github.com/gunthercox/chatterbot corpus)
。
````
#为聊天机器人创建一个新的培训师trainer.train("chatterbot.corpus.english.greatings")
请发出请求。**
[文档](https://chatterbot.read the docs.io/)
你自己使用[sphinx](http://www.sphinx-doc.org/),运行:
`````
sphinx build-b html docs/build/
````
请参阅[示例](https://github.com/gunthercox/chatterbot/tree/master/example s)
此项目的git存储库中的目录。
还有一个示例[使用chatterbot的django项目](https://github.com/gunthercox/chatterbot/tree/master/examples),以及示例[使用chatterbot的烧瓶项目](https://github.com/chamkank/flask chatterbot)。
1.[创建一个fork](https://help.github.com/articles/fork-a-repo/)
Github上的[主要Chatterbot存储库](https://github.com/gunthercox/chatterbot)。
2.在名为"master"的分支中进行更改,例如创建一个新的分支"my pull request"。
3。[创建请求](https://help.github.com/articles/creating-a-pull-request/)。
4.请遵循[PEP-8的Python样式指南](https://www.python.org/dev/peps/pep-0008/)。
5.使用项目[内置自动测试](https://chatterbot.readthedocs.io/en/latest/testing.html)。
帮助确保您的贡献没有错误。
许可证](https://opensource.org/licenses/bsd-3-clause)。
bot
平台:任何
分类器:开发状态::4-beta
分类器:预期受众::开发人员
分类器:许可证::OSI批准::BSD许可证
分类器:环境::控制台
分类器:环境::Web环境
分类器:操作系统::操作系统独立的
分类器:主题::软件开发::库::python模块
分类器:主题::通信::聊天
分类器:主题::Internet
分类器:编程语言::python
分类器:编程语言::python::3
classifier:编程语言::python::3.4
分类器:编程语言::python::3.5
分类器:编程语言::python::3.6
分类器:编程语言::python::3.7
分类器:编程语言::python::3::仅
需要python:>;=3.4,<;4
描述内容类型:文本/标记