diff options
author | Aleksey Lim <alsroot@member.fsf.org> | 2009-04-14 23:34:23 (GMT) |
---|---|---|
committer | Aleksey Lim <alsroot@member.fsf.org> | 2009-04-14 23:34:23 (GMT) |
commit | 66307d2f6fa7c011c750588f708cfc1deff74e1c (patch) | |
tree | fc033317835749d9988d1f6e85392050d6948219 /Speak.activity/bot/test_brain.py | |
parent | 4607872efde555829d9584b085217f6b31e8f340 (diff) |
Merge HabarConSara branch
Diffstat (limited to 'Speak.activity/bot/test_brain.py')
-rwxr-xr-x | Speak.activity/bot/test_brain.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Speak.activity/bot/test_brain.py b/Speak.activity/bot/test_brain.py new file mode 100755 index 0000000..32dc9b0 --- /dev/null +++ b/Speak.activity/bot/test_brain.py @@ -0,0 +1,10 @@ +#!/usr/bin/env python +#coding=utf-8 + +import aiml +import os.path + +k = aiml.Kernel() +k.loadBrain("sara.brn") + +while True: print k.respond(raw_input("Pregunta > ")) |