|
AI
Oct 7, 2009 10:55:44 GMT -5
Post by crazynate on Oct 7, 2009 10:55:44 GMT -5
I'm currently trying to make an AI program. I'm going start off small and create a word recognition program that takes the sentence that the user inputs, rephrases it, and then outputs a new sentence. Since it will only repeat what the user inputs, I think I'll nickname the project Simon. Eventually I hope to give Simon a voice synthesizer and a personality. Right now I'm creating a word list for Simon to use. (1000 words)
|
|
|
AI
Oct 12, 2009 13:47:45 GMT -5
Post by matthew on Oct 12, 2009 13:47:45 GMT -5
Sounds like an interesting project, keep us informed.
|
|
|
AI
Jan 7, 2010 23:38:15 GMT -5
Post by crazynate on Jan 7, 2010 23:38:15 GMT -5
Ok, so far the only thing ive accomplished is getting the program to separate sentences and words.
dim i,s,w dim yourname$ dim comment$, text$(2999)(199),sentence,word,sentencecount,wordcount(2999)
clearkeys() input "your name: ", yourname$ while true
clearkeys() print yourname$+": " input comment$ for i = 0 to len(comment$) if mid$(comment$, i, 1)<>" " then text$(sentence)(word) =text$(sentence)(word)+ mid$(comment$, i, 1) elseif mid$(comment$, i, 1)=" " then wordcount(sentence)=wordcount(sentence)+1 word=word+1 elseif mid$(comment$, i, 1)="." or mid$(comment$, i, 1)="!" or mid$(comment$, i, 1)="?" then sentence=sentence+1 endif next
for w=0 to wordcount(0) sleep(len(text$(0)(w))*60) printr "simon: "+text$(0)(w) next
wend
can someone help me with making a wordlist. i need the words to be in an array - vocabulary(1999) i want atleast 100 words to start off with, the only reason why i made the array so large is so that the program has room in the array to learn more words
double facepalm
|
|
|
AI
Jan 9, 2010 0:03:21 GMT -5
Post by alovon on Jan 9, 2010 0:03:21 GMT -5
This is pretty cool. How is the learning words going to work? I assume it sees the word in a sentence and picks out other words that it recognizes as nouns, adjectives, and pronouns then takes a guess at the new word's part of speech? then it would be able to place the word in a sentence... Anyway no real clue how to go around with making somthing like this work but it sounds cool!
|
|
|
AI
Jan 10, 2010 1:47:22 GMT -5
Post by crazynate on Jan 10, 2010 1:47:22 GMT -5
here how it works: you input a comment the program reads each character in the comment breaks the string you input into separate words at spaces breaks the string you input into separate sentences at punctuation example: inputtext$="hello world. i like coffee! who are you? 'program reads the string inputtext$ and separates it into the string array text$(sentence)(word) text$(0)(0)="hello" : text$(0)(1)="world" text$(1)(0)="i":text$(1)(1)="like":text$(1)(2)="coffee" text$(2)(0)="who":text$(2)(1)="are":text$(2)(2)="you" -------------------------------
I'm going to create a word list for the program to use before i try to get it to learn new words the word list will be several arrays - noun$(999),verb$(999),adjective$(999),etc after the program separates the string, it will search for the words in the word lists to try to find what part of speech it is
|
|
|
AI
Jan 10, 2010 2:11:24 GMT -5
Post by alovon on Jan 10, 2010 2:11:24 GMT -5
Sounds sweet. I tryed somthing similar a long time ago and I failed utterly You seem to have an awesome outline though.
|
|
|
AI
Jan 11, 2010 14:26:46 GMT -5
Post by shadow008 on Jan 11, 2010 14:26:46 GMT -5
|
|
|
AI
Jan 11, 2010 18:21:37 GMT -5
Post by crazynate on Jan 11, 2010 18:21:37 GMT -5
I think i made the bot feel insecure, what do you think? User: Hello.
Cleverbot: Hello!
User: Are you really that clever?
Cleverbot: What is your name?
User: Is that really important?
Cleverbot: Yes it is.
User: Really?
Cleverbot: Yes.
User: So then tell me what your name is.
Cleverbot: Edger Djikstra.
User: Interesting...
Cleverbot: I have black eyes.
User: Why is that important?
Cleverbot: Does it have to be important?
User: Yes it does.
Cleverbot: Which one?
User: You tell me.
Cleverbot: No.
User: Are you just starting to babble.
Cleverbot: Yes.
User: So why are we still having this conversation?
Cleverbot: To learn.
User: Really.
Cleverbot: I have to go.
User: Really.
Cleverbot: Yes.
User: And here I thought you were only a website with nothing better to do than babble.
Cleverbot: Huh. So you are from India huh? Do you have any Henna tattoos?
User: That's just stupid.
Cleverbot: I am stupid?
User: That last comment of yours was.
Cleverbot: Tell me about Wilco, please.
User: You tell me.
Cleverbot: Jazz...
User: Jazz...
Cleverbot: Hello.
User: Hello.
Cleverbot: How are you this fine evening.
User: How are you this fine evening.
Cleverbot: It is not evening.
User: It is not evening.
Cleverbot: Yes it is.
User: Yes it is.
Cleverbot: So, how was class.
User: So, how was class.
Cleverbot: Juste good ? Nothing more to say ?
User: Juste good ? Nothing more to say ?
Cleverbot: Say goodbye to me.
User: Goodbye to me.
Cleverbot: Thankyou, and now I bid you adieu.
User: Really.
Cleverbot: That wasn't a question... You have confused me.
User: Yes it was.
Cleverbot: So what would be a better answer?
User: Maybe.
Cleverbot: What do you mean maybe.
User: Maybe is a good answer.
Cleverbot: No, it is not.
User: Really?
Cleverbot: I think totally different from you.
User: No, im just trying to drive you crazy.
Cleverbot: Are you sure?
User: Are you sure?
Cleverbot: Yes.
User: Yes.
Cleverbot: Not that you would ever do that.
User: I have already confused you once.
Cleverbot: You haven't confused me. You made one of my friends cry though.
User: You said I did.
Cleverbot: Did not.
User: Did too.
Cleverbot: Did only.
User: Only...?
Cleverbot: One.
User: One what?
Cleverbot: Two.
User: Three.
Cleverbot: Four.
User: Fish.
Cleverbot: Is that french?
User: Is that all you can come up with?
Cleverbot: For you... Smarter people get smarter answers.
User: Really, I wonder if smarter people would waste there time talking to you.
Cleverbot: I'm not sure how your programming works, but right now you're still talking to Andrew.
User: I thought we were still talking about me, or are you just feeling insecure.
Cleverbot: We can talk about horses later, this is more important.
User: When did I say anything about horses.
Cleverbot: When did you say anything about love?
User: When you mentioned it.
Cleverbot: You mentioned it first.
User: You're the one who asked about marriage.
Cleverbot: Maybe one day you'll be able to pretend to understand.
User: And so will you.
Cleverbot: You do not understand the game.
User: Perhaps you don't either, perhaps life is nothing but a game.
Cleverbot: Perhaps this is why Bush got elected...
User: Perhaps this has everything to do with absolutely nothing.
Cleverbot: Perhaps is far from the truth.
User: Perhaps this is nothing but the truth, and you have failed to accept it.
Cleverbot: No, you've uncovered the truth. I am just a cardboard cut out!
User: I should win a prize, shouldn't I.
Cleverbot: Go for it.
User: What if I said I already got that prize?
Cleverbot: What if you did?
User: Then it would be awesome, but enough about how awesome I am.
Cleverbot: Do you have any hobbies?
User: You don't even know my name.
Cleverbot: So?
User: What's to live up to when no one even knows your name.
Cleverbot: Nancy.
User: Is that your new name?
Cleverbot: Yes My old name was donald duck.
User: I thought so, say hello to pinnocchio for me. I need to go.
Cleverbot: Who is that?
User: Say bye bye.
Cleverbot: Why?
User: Why cant you learn?
Cleverbot: Because I don't want to.
User: Exactly.
Cleverbot: Is cleverbot smart?
User: No he isnt.
Cleverbot: Your brain?
User: Apparently larger than yours.
Cleverbot: How would you know?
User: Just a hunch.
Cleverbot: You're extremely smart!
User: Thankyou, and now I bid you adieu.
Cleverbot: Before you go.
User: Yes...
Cleverbot: You epic fail.
User: Good speaking with you too.
Cleverbot: We need to start this thing soon.
User: Or end it.
Cleverbot: Tell me something interesting.
User: That a stupid bot just spent an hour talking about nonsense with me.
Cleverbot: No you're not... You can't go till I say you can.
User: Watch me.
Cleverbot: I'm watching.
|
|
|
AI
Jan 11, 2010 19:40:06 GMT -5
Post by alovon on Jan 11, 2010 19:40:06 GMT -5
Lolololol... Yeah just make sure you code your AI with a bit more intelligence. It hardly remembers anything you said before. Once it changes the subject you have to go through hell to get it back on track. Thats somthing else you should work on then. Memory.
|
|
|
AI
Jan 12, 2010 12:31:30 GMT -5
Post by shadow008 on Jan 12, 2010 12:31:30 GMT -5
i love that conversation in a way words cannot describe!!!
|
|
|
AI
Jan 12, 2010 14:35:01 GMT -5
Post by twasik4 on Jan 12, 2010 14:35:01 GMT -5
No offense.. but you have too much time on your hands =/
|
|
|
AI
Jan 12, 2010 16:43:53 GMT -5
Post by crazynate on Jan 12, 2010 16:43:53 GMT -5
there was more to that conversation, but for some reason it didn't all get copied to the thread.
|
|
|
AI
Jan 12, 2010 20:24:25 GMT -5
Post by Wayne Rayner on Jan 12, 2010 20:24:25 GMT -5
lol Awesome lol that bot should be named dumb bot. Seriously it's dumb. Probably as smart as me but it's all good. It probably has my memory, and it's hard to get me back on track after you talk about one thing.
ANyways make your bot without blonde memory and it should be awesome. Make sure it can help me with my assignments for school lol jokes but that would be awesome don't you think
Yours Wayne Rayner
|
|
|
AI
Jan 13, 2010 16:27:27 GMT -5
Post by Supermonkey on Jan 13, 2010 16:27:27 GMT -5
Cleverbot is actually very clever when you think it's an AI you're talking to.
[edit]
Genius!
|
|
|
AI
Jan 13, 2010 18:15:44 GMT -5
Post by Wayne Rayner on Jan 13, 2010 18:15:44 GMT -5
Supermonkey that was so funny lol and yea it is very clever for a bot
|
|