[IAEP] Emulating Alice in Turtle

Walter Bender walter.bender at gmail.com
Sat Nov 17 15:17:18 EST 2012


And a TA project to interact with Alice...

-walter

On Sat, Nov 17, 2012 at 2:53 PM, Walter Bender <walter.bender at gmail.com> wrote:
> I wrote a bit of Python glue [1] so that you can load the Alice engine
> into Turtle Art. Download the file, load it into a Python block, pass
> it a string, and the robot will respond. (The response is pushed to
> the FILO stack and can be accessed using a Pop block.) Enjoy.
>
> -walter
>
> [1] http://git.sugarlabs.org/turtleart/mainline/blobs/raw/master/pysamples/brain.py
>
> On Sat, Nov 17, 2012 at 8:32 AM, Tony Anderson <tony_anderson at usa.net> wrote:
>> Hi,
>>
>> That is what was done in the Speak Activity so it can provide a
>> good model.
>>
>> Tony
>>
>>
>>
>>
>> On 11/17/2012 08:26 AM, Walter Bender wrote:
>>>
>>> If we made a "python block" front end to the AIML engine, we could use
>>> it in Turtle Art. I've not played with AIML, but it looks to be fairly
>>> straight forward.
>>>
>>> -walter
>>>
>>> On Sat, Nov 17, 2012 at 6:12 AM, Tony Anderson <tony_anderson at usa.net>
>>> wrote:
>>>>
>>>> Hi,
>>>>
>>>> Just a footnote. There may be some who are not aware that Alice is based
>>>> on
>>>> AIML:
>>>>
>>>> http://www.alicebot.org/aiml.html
>>>> http://en.wikipedia.org/wiki/AIML
>>>>
>>>> The AIML engine in Speak is written in Python.
>>>>
>>>> An intriguing idea is to make a teachable bot:
>>>>
>>>> http://www.simonlaven.com/leo.htm
>>>>
>>>> This could result in a dialog like this:
>>>>
>>>> type: hello
>>>> response: I don't know what to say.
>>>> type: say: hello
>>>> response: hello
>>>> type: How are you?
>>>> response: I don't know what to say.
>>>> type: say: I'm fine, thanks. How are you?
>>>> response: I'm fine, thanks. How are you?
>>>> type: Goodbye
>>>> response: I dont' know what to say.
>>>> type say: Goodbye
>>>>
>>>> AIML is a way to give rules on how to respond to an input. It has a
>>>> default
>>>> response when none of the rules are triggered. The default response in
>>>> Alice
>>>> is randomly chosen from a set of alternatives. However, the default
>>>> response
>>>> could always be 'I don't not what to say' or 'bitte'. The response 'say:'
>>>> could then trigger the engine to add the response as a rule.
>>>>
>>>> Another intriguing idea is to add the AIML engine to chat so that alice
>>>> could participate. In the AIML model, Alice would not enter the
>>>> conversation
>>>> except in response to questions.
>>>>
>>>> Tony
>>>>
>>>> On 11/17/2012 05:45 AM, iaep-request at lists.sugarlabs.org wrote:
>>>>>
>>>>>
>>>>> Send IAEP mailing list submissions to
>>>>>          iaep at lists.sugarlabs.org
>>>>>
>>>>> To subscribe or unsubscribe via the World Wide Web, visit
>>>>>          http://lists.sugarlabs.org/listinfo/iaep
>>>>> or, via email, send a message with subject or body 'help' to
>>>>>          iaep-request at lists.sugarlabs.org
>>>>>
>>>>> You can reach the person managing the list at
>>>>>          iaep-owner at lists.sugarlabs.org
>>>>>
>>>>> When replying, please edit your Subject line so it is more specific
>>>>> than "Re: Contents of IAEP digest..."
>>>>>
>>>>>
>>>>> Today's Topics:
>>>>>
>>>>>      1. Re: Emulating Alice in Turtle? (forster at ozonline.com.au)
>>>>>
>>>>>
>>>>> ----------------------------------------------------------------------
>>>>>
>>>>> Message: 1
>>>>> Date: Sat, 17 Nov 2012 21:45:42 +1100
>>>>> From: forster at ozonline.com.au
>>>>> To: Walter Bender <walter.bender at gmail.com>
>>>>> Cc: iaep at lists.sugarlabs.org, Kevin.Brooks at ndsu.edu
>>>>> Subject: Re: [IAEP] Emulating Alice in Turtle?
>>>>> Message-ID: <201211171045.qAHAjgAB004691 at smtp.ozonline.com.au>
>>>>> Content-Type: text/plain; charset="us-ascii"
>>>>>
>>>>> An embedded and charset-unspecified text was scrubbed...
>>>>> Name: not available
>>>>> URL:
>>>>>
>>>>> <http://lists.sugarlabs.org/archive/iaep/attachments/20121117/dd071331/attachment.ksh>
>>>>> -------------- next part --------------
>>>>> A non-text attachment was scrubbed...
>>>>> Name: Screenshot of %22Turtle Art Activity alice%22.png
>>>>> Type: image/png
>>>>> Size: 123506 bytes
>>>>> Desc: not available
>>>>> URL:
>>>>>
>>>>> <http://lists.sugarlabs.org/archive/iaep/attachments/20121117/dd071331/attachment.png>
>>>>>
>>>>> ------------------------------
>>>>>
>>>>> _______________________________________________
>>>>> IAEP -- It's An Education Project (not a laptop project!)
>>>>> IAEP at lists.sugarlabs.org
>>>>> http://lists.sugarlabs.org/listinfo/iaep
>>>>>
>>>>> End of IAEP Digest, Vol 56, Issue 19
>>>>> ************************************
>>>>> .
>>>>>
>>>>
>>>> _______________________________________________
>>>> IAEP -- It's An Education Project (not a laptop project!)
>>>> IAEP at lists.sugarlabs.org
>>>> http://lists.sugarlabs.org/listinfo/iaep
>>>
>>>
>>>
>>>
>>
>
>
>
> --
> Walter Bender
> Sugar Labs
> http://www.sugarlabs.org



-- 
Walter Bender
Sugar Labs
http://www.sugarlabs.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: alice.png
Type: image/png
Size: 74488 bytes
Desc: not available
URL: <http://lists.sugarlabs.org/archive/iaep/attachments/20121117/653ac543/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: alice.ta
Type: application/octet-stream
Size: 2216 bytes
Desc: not available
URL: <http://lists.sugarlabs.org/archive/iaep/attachments/20121117/653ac543/attachment-0001.obj>


More information about the IAEP mailing list