From 1c7916170c0317975609cee1be3760276d921ec9 Mon Sep 17 00:00:00 2001 From: olpc Date: Mon, 03 Nov 2008 10:51:28 +0000 Subject: Puliendo a Sara y aƱadiendo a Alice --- (limited to 'Speak.activity/test_brain.py') diff --git a/Speak.activity/test_brain.py b/Speak.activity/test_brain.py new file mode 100755 index 0000000..bdae924 --- /dev/null +++ b/Speak.activity/test_brain.py @@ -0,0 +1,10 @@ +#!/usr/bin/env python +#coding=utf-8 + +import aiml +import os.path + +k = aiml.Kernel() +k.loadBrain("cerebro.brn") + +while True: print k.respond(raw_input("Pregunta > ")) -- cgit v0.9.1