LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-27-2016, 02:04 AM   #1
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 14.1
Posts: 1,572

Rep: Reputation: 210Reputation: 210Reputation: 210
Can't get Eliza going (libchatbot-eliza-perl)


Hi, I installed libchatbot-eliza-perl on my Ubuntu 16.04 machine. This program runs Eliza, the old AI program. But I can't figure out how to start it.

I went to the site and found this:

Quote:
This is all you need to do to launch a simple Eliza session:

use Chatbot::Eliza;

$mybot = new Chatbot::Eliza;
$mybot->command_interface;
I tried the command, but it didn't work. I'm not sure what to do.
 
Old 10-27-2016, 02:23 AM   #2
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 14.1
Posts: 1,572

Original Poster
Rep: Reputation: 210Reputation: 210Reputation: 210
Okay, I did figure this out. There's a file named "simple", which is the basic Eliza program (there are a couple of other variations, like other languages, also). So, changing to the directory of the file and running the command worked. To illustrate:

Code:
/usr/share/doc/libchatbot-eliza-perl/examples$ perl simple
The command was in the directory /usr/share/doc/libchatbot-eliza-perl/examples, so I went to that directory and ran the command "perl simple" and it started my session with Liz. I ended the session by saying "Goodbye Liz" with Liz responding,

Code:
Liz:	I think you should talk to a REAL analyst.  Ciao!
..and then Liz closed the program.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Need A Psychiatrist? Meet Eliza. LXer Syndicated Linux News 0 12-15-2011 02:20 AM
Eliza. rs422a Linux - Newbie 1 11-12-2011 06:20 PM
LXer: Is it Live? Or is it Chatbot::Eliza? LXer Syndicated Linux News 1 02-17-2009 09:37 AM
Perl guys! Time delay 4 Eliza bot Gaim response - want to have fun :) lrt2003 Programming 1 10-03-2004 12:04 PM
perl(Cwd) perl(File::Basename) perl(File::Copy) perl(strict)....What are those? Baldorg Linux - Software 1 11-09-2003 08:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration