[alicebot-style] problem of aiml
mehri
foreverlinux at yahoo.com
Sat Dec 17 23:12:50 PST 2005
Take joy in your assignment and in pondering over it.
As Dijkstra once said,
"Today's mathematical culture suffers from a style of
publication, in which the results and the reasoning
justifying them are published quite explicitly but in
which all the pondering is rigorously suppressed, as
if the need to ponder were a vulgar infirmity about
which we don't talk in civilized company."
Too many times have I suffered from the "hurry and get
it done!" of deadlines instead of being able to wander
around a problem a few times looking at it from
different directions and really savorying it.
I sympathize with you in your plight. The 27th is
just around the corner and here you are with a
mountain of a problem in which you must climb.
> student(ditno,name,address,tel)
> exam(ditno,semester,examcode,mark,attempt)
> 1) How to represents above data's into suitable
> defined AIML Tags.
> 2) How to write program in C#, to extract these
> information from the Student & Exam table(database
> in sql), and put them into the AIML file
AIML's heart is her symbolic reduction system. I'd
read the following:
http://www.alicebot.org/documentation/srai.html
And then download the annotated alice AIML set. Look
at the symbolic reduction when you give it both of
these inputs:
* can you tell me about a cat
* tell me about a cat
They both symbolically reduce to:
* what is a cat
If you were to add another category such as:
<category>
<pattern>
what is a student
</pattern>
<template>
Someone who doesn't want what they pay for, education
</template>
</category>
Then you could ask it in a variety of ways what a
student is and it will always say, "Someone who
doesn't want what they pay for, education".
For example you could ask annotated alice:
* can you tell me about a student
* tell me about a student
* What is a student
and it will always say:
Someone who doesn't want what they pay for, education.
Ponder on that for a little bit and you should come up
with quite a few ways to enter your student's
information into an AIML set to take advantage of her
<srai> tags.
Sorry I can't help you with #2, because I do not
program in C# but I'm sure it is not difficult and you
will do fine. Just google around for a bit on
different ways to use C# to access your database and
you'll find some sample code.
Good luck!
--- Osada Kalubadanage <osadasliit at yahoo.com> wrote:
> I am a student of Information Technology.I need to
> do an assignment before this 27th.I do not have
> peoples with AI background.
> Requirements are :
>
> student(ditno,name,address,tel)
> exam(ditno,semester,examcode,mark,attempt)
>
> 1) How to represents above data's into suitable
> defined AIML Tags.
> 2) How to write program in C#, to extract these
> information from the Student & Exam table(database
> in sql), and put them into the AIML file
>
> Please be kind enough to concider my request above
> and help me as soon as possible.Please help me by
> sending the sourcecodes of how can i do my above
> requirements.Please help me.
>
> Yours Faithfully,
> Osada wathsala kalubadanage
> osadasliit at yahoo.com
>
>
> Send instant messages to your online friends
> http://uk.messenger.yahoo.com >
_______________________________________________
> alicebot-style mailing list
> alicebot-style at list.alicebot.org
>
http://list.alicebot.org/mailman/listinfo/alicebot-style
>
.................................................o' \,=./ `o
Mehri (o o)
---=--=---=--=--=---=--=--=--=--=---=--=--=-----ooO--(_)--Ooo---
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the alicebot-style
mailing list