diff options
author | Aleksey Lim <alsroot@member.fsf.org> | 2009-12-25 15:34:56 (GMT) |
---|---|---|
committer | Aleksey Lim <alsroot@member.fsf.org> | 2009-12-25 15:34:56 (GMT) |
commit | 6e82c5964e31f3cc937911069709af9830071338 (patch) | |
tree | 13e2b5e82fcd64eb0ea54aafb31df9421343f3cd /bot/test_brain.py | |
parent | da69d3983184b35350ff6634ca9e00faaa631d1a (diff) |
Use only one directory level for sources
Diffstat (limited to 'bot/test_brain.py')
-rwxr-xr-x | bot/test_brain.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/bot/test_brain.py b/bot/test_brain.py new file mode 100755 index 0000000..32dc9b0 --- /dev/null +++ b/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 > ")) |