Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / program memory?

Author
Message
I am Me
21
Years of Service
User Offline
Joined: 28th Sep 2003
Location: Right here
Posted: 10th Dec 2003 03:57
How would I program something to remember certain actions and/or phrases and respond to them. for example: write a program that will hold a conversation with the user, and if it doesn't know how to respont, it asks and you tell it, and it remembers.

thanks.


p.s. that's the secret to true AI: don't try to program an adult's intelligence, that's impossible. program it to be able to learn.

I am not you
HZence
22
Years of Service
User Offline
Joined: 9th Mar 2003
Location:
Posted: 10th Dec 2003 03:59
well here's the secret to true coding: learn it yourself. lol. ai is not a simple subject, definitely not something we can just "tell you" how to do without just giving you code.

Team EOD :: Programmer/Storyboard Assistant
justinHeintz
21
Years of Service
User Offline
Joined: 5th Dec 2003
Location: my house
Posted: 10th Dec 2003 04:04
i have to tell you the same learn it yourself. but what your doing works ok its not that great.

Justin Heintz
I am Me
21
Years of Service
User Offline
Joined: 28th Sep 2003
Location: Right here
Posted: 10th Dec 2003 04:08
ok, forget about the memory part, I can do that.

how would you craft a formula to tell it what to save to the file using an input variable?

I am not you
zenassem
22
Years of Service
User Offline
Joined: 10th Mar 2003
Location: Long Island, NY
Posted: 10th Dec 2003 07:04
Quote: "write a program that will hold a conversation with the user, and if it doesn't know how to respont, it asks and you tell it, and it remembers.
"


This question is complex indeed. In fact this one question, speaks to so many disciplines in computer science that I am not sure if all of them could even be answered. But that is no reson not to give it a shot and see what we can come up with. Let's disect the question and build from there. I honestly think that this could be an excellent thread if we give it a chance. And perhaps we will all gain something. I have thought a little about the process of discovery that we can follow.

I. write a simple command processor (reference Compute!'s Guide Gary McGath)
a. First an imperative sentence handler aka Command handler(ie. Go,Run,Stop)
b. Add ability to handle a subject and predicate (ie. I go, You run, They stop)
c. build upon predicate of sentence; verbs, direct objects, indirect object, (ie. Give me the disc) Give=verb; disc=direct object; me=indirect object.
d. include ability to handle prepsotional phrases. ie. (give your disc to me). the preposition 'to' relates 'me' to 'give'
e. add Ajective modifiers to Objects (direct or indirect) or prepositional phrases that have nouns. (ie. Give me the 'scratched' disc)
f. add multiple objects (ie. Give me the disc, the manual, and the lighter) or incorperate words like all or every quantifiers (ie. take all of the rings) or (take everything).
g. add the verb/adverb modifers. (ie. Give me the disc quietly).
h. add nouns of address. (ie. Computer, give me the access code)
i. develope on the grammatical framework by using Backus Normal Form (BNF)
j. Design a huge decision tree (later this will be modified with learning algorithms, neural networks, fuzzy logic sets, memory etc..) but we need to give our program a decent starting point.

Well there's enough there already to get started with... I hope this topic takes off. It really is a great way to learn AI.
I am Me
21
Years of Service
User Offline
Joined: 28th Sep 2003
Location: Right here
Posted: 10th Dec 2003 23:02
thanks, that's great, I might do that in a later AI program, but I just want to know how I could tell the program what to enter, and then how to read it (once the program is compiled)

I am not you

Login to post a reply

Server time is: 2025-05-22 03:53:28
Your offset time is: 2025-05-22 03:53:28