Skip to content

A test .Just for friendly listening chat robot api.

Notifications You must be signed in to change notification settings

linh47/EasyAIChatRobot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

EasyAIChatRobot

A simple console program written by JAVA. My inspiration comes from Douban and my friend Yueyue. Some people say that listening to the guy you are chatting with and less talking about yourself is more friendly and empathetic. So I tried to write a class and a method to describe a robot to chat with somebody. Just for fun and review my basic java knowledge.Thank you for your attention.

从豆瓣上获得的神奇脑洞——在交流中只倾听的人更受欢迎。我就试了一下只回复 “是吗?”,“然后呢?”,“这样啊”和疑问语气重复对方的话,意外地聊天效果还不错呢。 写了个简单的控制台程序。直接cmd 运行就可以了。 对输入进行简单判断,如果是直接回车代表聊天结束,如果包含句号,就可以简单重复对方的后半句话。 用随机数简单控制了一下各种回复出现的概率,“这样啊”是最万能的哈哈哈哈。

About

A test .Just for friendly listening chat robot api.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages