yaleimeng / Py3aiml_chinese
Licence: mit
官方py3AIML基于英文,现为其增加中文支持,并将代码注释翻译为中文。实测可正常解析带中文pattern和template的aiml文件。
Stars: ✭ 80
Programming Languages
python
139335 projects - #7 most used programming language
Labels
Projects that are alternatives of or similar to Py3aiml chinese
Unilmchatchitrobot
Unilm for Chinese Chitchat Robot.基于Unilm模型的夸夸式闲聊机器人项目。
Stars: ✭ 67 (-16.25%)
Mutual labels: chinese
Calendar
Android日历 仿小米 华为 滴答清单 365日历(农历),周视图 月视图 平滑滚动 节假日 五六行周切换 week or month calendar
Stars: ✭ 1,183 (+1378.75%)
Mutual labels: chinese
Emacs Document
translate emacs documents to Chinese for convenient reference
Stars: ✭ 1,085 (+1256.25%)
Mutual labels: chinese
Nezha chinese pytorch
NEZHA: Neural Contextualized Representation for Chinese Language Understanding
Stars: ✭ 65 (-18.75%)
Mutual labels: chinese
Happy Captcha
Happy Captcha是一款易于使用的Java验证码软件包,旨在花最短的时间,最少的代码量,实现Web站点的验证码功能。Happy Captcha完全遵循Apache 2.0开源许可协议,你可以自由使用该软件,如您在使用Happy Captcha时发现软件的任何缺陷,欢迎随时与我联系。
Stars: ✭ 75 (-6.25%)
Mutual labels: chinese
Localization Zh Cn Plugin
Chinese Localization for Jenkins
Stars: ✭ 65 (-18.75%)
Mutual labels: chinese
Rasa nlu chi
Turn Chinese natural language into structured data 中文自然语言理解
Stars: ✭ 1,166 (+1357.5%)
Mutual labels: chinese
Chinese Hershey Font
Convert Chinese Characters to Single-Line Fonts using Computer Vision
Stars: ✭ 70 (-12.5%)
Mutual labels: chinese
Gpt2 Ml
GPT2 for Multiple Languages, including pretrained models. GPT2 多语言支持, 15亿参数中文预训练模型
Stars: ✭ 1,066 (+1232.5%)
Mutual labels: chinese
Hacker Laws Zh
💻📖对开发人员有用的定律、理论、原则和模式。(Laws, Theories, Principles and Patterns that developers will find useful.)
Stars: ✭ 9,446 (+11707.5%)
Mutual labels: chinese
Pime
Develop input methods for Windows easily with Python and node.js
Stars: ✭ 1,051 (+1213.75%)
Mutual labels: chinese
Chinese Word Vectors
100+ Chinese Word Vectors 上百种预训练中文词向量
Stars: ✭ 9,548 (+11835%)
Mutual labels: chinese
Learn Vim
Vim 实操教程(Learning Vim)Vim practical tutorial.
Stars: ✭ 1,166 (+1357.5%)
Mutual labels: chinese
py3Aiml_Chinese
官方py3版本的AIML基于英文,现为其增加中文支持,并翻译了代码中的注释。实测可正确解析带中文pattern和模板的aiml文件。
本想找到一个py3的中文aiml项目直接上手,没想到困难重重。有的无法执行,有的又是py2版本。网上关于改写的资料也少,大部分只提到思路。 本项目得益于:
项目名 | 链接(安装) | 说明 |
---|---|---|
py2版本的中文aiml | py2AIML | 不支持py3 |
python-aiml | pip install python-aiml | 0.9.1版本,核心代码可用。可使用英文模板库 |
aiml | pip install aiml | 不能直接用。但带有Alice的英文模板库。 |
查找相关资源可以:pip search aiml
众所周知,python2的文字编码问题是个万人坑,所以py3是文字处理的最佳选择。所以在通读了支持中文的py2版本aiml整个项目之后,着手进行py3 0.91版本的修改。去除了一些冗余代码。保持了代码的整洁有序。
眼见为实,上图:
大家如果有疑问可发Issue与我交流,若有完善,提PullRequest更加欢迎。 现在Chatbot方面又有ChatScript可选。只可惜关于中文改造内容也比较少。欢迎一起探讨。
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].