Alicebot Program V|Kirsle|casey@cuvou.net|1250806711|Kirsle|xx|0|72.37.252.50|While searching for something relatively unrelated, I managed to find a copy of Alicebot Program V floating around the internet somewhere.<br /><br />Program V is an implementation of an Alice AIML bot written in Perl.<br /><br />It's a little bit tricky to get it set up and working. When I first found it 5 years ago, I couldn't get it to work; now that I'm better at Perl it still took a bit of tinkering but I managed to get it up and running.<br /><br />Follow the README that comes with it, first of all. I had to install two Perl modules, and copy some directories around and then I got everything to run relatively fine.<br /><br />I'm using Fedora, so to install the Perl modules I did:<br /><br />[code]yum install perl-Unicode-String<br />yum install perl-Unicode-Map8[/code]<br /><br />Additionally, one of the Perl modules caused the scripts to just die. It would say just &quot;died&quot; at one of the modules' lines. It was looking to load Unicode scripts like &quot;unicode/To/Upper.pl&quot; which it couldn't find.<br /><br />I did a `locate Upper.pl` on my system and found something that looked sorta like what it's trying to find:<br /><br />[quote][b]/usr/lib/perl5/5.10.0/unicore/To/Upper.pl[/b]<br />/usr/lib/perl5/5.10.0/unicore/lib/gc_sc/OUpper.pl<br />/usr/lib/perl5/5.10.0/unicore/lib/gc_sc/Upper.pl[/quote]<br /><br />So I just copied that whole &quot;unicore&quot; directory to my current working directory (inside Program V's directory), and changed its name from &quot;unicore&quot; to &quot;unicode&quot;<br /><br />[code]cp -r /usr/lib/perl5/5.10.0/unicore ./<br />mv unicore unicode[/code]<br /><br />This let the scripts run without error.<br /><br />The build.pl script crashed a couple times because certain patterns in the AIML contain invalid characters (notably, an accented ). I fixed these patterns in the AIML by hand until the build.pl was able to run without error. In shell.pl I was able to have a chat with Alice inside my terminal.<br /><br />Program V can be downloaded here:<br />http://www.rivescript.com/files/etc/programv-0.08.tar||1250806741|Kirsle|
