![命令行 ELIZA 聊天机器人](https://linux22.com/image/1025303/%E5%91%BD%E4%BB%A4%E8%A1%8C%20ELIZA%20%E8%81%8A%E5%A4%A9%E6%9C%BA%E5%99%A8%E4%BA%BA.png)
有没有经典的实现伊丽莎可以在 Ubuntu 上使用的 AI 聊天程序?我正在寻找可以从命令行使用的 ELIZA。
答案1
包裹搜索复制技术我们去了libchatbot-eliza-perl
Ubuntu 包。
您可以使用以下命令安装它:
sudo apt-add-repository universe
sudo apt-get update
sudo apt-get install libchatbot-eliza-perl
然后玩它
$ /usr/share/doc/libchatbot-eliza-perl/examples/simple Welcome to your therapy session. Your therapist's name is Liz. Liz: Please tell me what's been bothering you. you: Cats Liz: Does talking about this bother you? you: Yes Liz: I understand. you: They are meawing. Liz: Are you positive they are meawing? you: Yes Liz: Please go on. you:
它是 Perl 模块,因此您可以在本地/usr/share/perl5/Chatbot/Eliza.pm
或man Chatbot::Eliza.3pm
在线的。