Comments (13)
因为很久没有维护,猜测是目前的Python版本处理unicode和当时不太相同。
其他原因还可能是不同操作系统的默认编码问题。我想想怎么整。预计周末前给你回复
from pyaiml.
你中文处理那一页是放在 AimlParser.py这个文件的吗?
from pyaiml.
您好,请问AimlParser.py文件您更新了吗?
from pyaiml.
英文处理是没问题的,因为英文可以按照空格分割。
但是中文就不太容易整,所以之前的处理方法是按照中文,把每个单字之间加上空格。
相关代码的确是在 AimlParser.py
from pyaiml.
from pyaiml.
诶?不应该啊。。可以尝试print下规则列表
from pyaiml.
或者是输入时候的编码没有办法识别?
from pyaiml.
在spyder里面粘贴 代码里面的汉语 是有回复的,但 用输入法打字 又不回复了
我正在想是不是输入的问题,但半角输入和全角输入都是一个操行。
from pyaiml.
我想了两天还是只能在spyder里面靠粘贴进行输入,菜鸟一个
from pyaiml.
噗。。可能是shell有点问题。输入的编码?
from pyaiml.
我在网上看到很多人在utf-8编码条件下,载cmd里面无法输入中文,或输入中文回复却只能看到乱码,只有你截图里面cmd界面实现了中文交互,你用的是什么版本啊
from pyaiml.
是用半角还是全角,用什么输入法,用什么编码实现的啊
from pyaiml.
我平时 linux 服务器下没有问题。
from pyaiml.
Related Issues (10)
- example2里的例子和README里不一样 HOT 5
- 基础的问题
- 请问哪里可以找到aiml中文规则库? HOT 3
- Aimlparser does not pass the value of BOT_NAME HOT 5
- 一个可能比较幼稚的问题 HOT 4
- kernel.bootstrap(learnFiles="std-startup.xml", commands="你好") HOT 1
- 你好,请问这个包支持system标签吗 HOT 3
- 能否推荐或者基于python3版本做个 HOT 2
- 关于srai功能的不能正常使用的问题 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyaiml.