From 6e82c5964e31f3cc937911069709af9830071338 Mon Sep 17 00:00:00 2001 From: Aleksey Lim Date: Fri, 25 Dec 2009 15:34:56 +0000 Subject: Use only one directory level for sources --- (limited to 'bot/test_brain.py') 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 > ")) -- cgit v0.9.1