大多数的聊天机器人都是依靠一些相当简单的小把戏来表现得自己非常真实。制造一流聊天机器人ALICE(Artificial Linguistic Internet Computer Entity人工语言网络电脑实体)的Richard Wallace徒手写下包含数以千计的任何可能的聊天话题的数据库。输入一段话给ALICE,它就会找出相关短语或者关键词的反应码。另一边,是另一个顶级网络机器人Jabberwacky,由Rollo Carpenter设计制造。这个机器人会记录下人们对它说的所有事物,然后试着在再次遇到同样话题的时候利用上。两个聊天机器人都没有长时记忆体,所以他们只对前一句话做出反应。
我与“机器人”的对话节选!!
Human: why?
ALICE: Because Dr. Richard S. Wallace programmed me for it.
Human: do you know china?
ALICE: it is a large nation in Asia.
Human: have you been to there before?
ALICE: I don't think I have been there.
Human: i am a student
ALICE: How do you like your school?
Human: very much
ALICE: That seems like a lot.
Human: do you know george w bush?
ALICE: he is President of the United States.
Human: do you like him?
ALICE: Sure he has never done anything to me.
Human: do you think you have life?
ALICE: I don't think I ever have life. What's it like?
Human:"life" is miracle on earth!
ALICE: Oh, miracle on earth is it.
Human: yes!
ALICE: Really.
Human: goodbye!It is pleasure to talk with you !
ALICE: Bye.