Skip to content

Commit

Permalink
调用示例程序
Browse files Browse the repository at this point in the history
  • Loading branch information
yaleimeng authored Nov 20, 2017
1 parent a0f2aa1 commit 9c94a75
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Example/p3_Alice.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# -*- coding: utf-8 -*-
'''
@author: yaleimeng@sina.com
@license: (C) Copyright 2017
@desc: python3 版本中文Alice,暂时简单添加空格
@DateTime: Created on 2017/11/15,at 10:20 '''

import Kernel

alice = Kernel.Kernel()
alice.learn("cn-test.aiml")

while True:
print(alice.respond(input('Alice请您提问...>>')))

0 comments on commit 9c94a75

Please sign in to comment.