/
View dependency graph
Depends on
- libclass-load-perl (libclass-load-perl)
- libdir-self-perl (libdir-self-perl)
- libencode-perl (libencode-perl)
- libfile-sharedir-perl (libfile-sharedir-perl)
- libfile-slurp-perl (libfile-slurp-perl)
- libscalar-list-utils-perl (libscalar-list-utils-perl)
- libtest-simple-perl (libtest-simple-perl)
- perl (libautodie-perl, perl)
- debhelper-compat, libmodule-pluggable-perl, libmoose-perl, libmoosex-getopt-perl, libnamespace-clean-perl
README (full)
NAME
Bot::Training - Plain text training material for bots like Hailo and
AI::MegaHAL
SYNOPSIS
use Bot::Training;
use File::Slurp qw< slurp >;
my $bt = Bot::Training->new;
# Plugins I know about. Install Task::Bot::Training for more:
my @plugins = $bt->plugins
# Get the plugin object of a .trn file (which is just a plain text
# file). These all work just as well:
my $hal = $bt->file('megahal');
my $hal = $bt->file('MegaHAL');
my $hal = $bt->file('Bot::Training::MegaHAL');
# Get all lines in the file with File::Slurp:
my @test = split /\n/, slurp($hal->file);
DESCRIPTION
Markov bots like Hailo and AI::MegaHAL are fun. But to get them working
you either need to train them on existing training material or make
your own.
This module provides a pluggable way to install already existing
training files via the CPAN. It also comes with a command-line
interface called bot-training.
AUTHOR
Ævar Arnfjörð Bjarmason <[email protected]>
LICENSE AND COPYRIGHT
Copyright 2010 Ævar Arnfjörð Bjarmason <[email protected]>
This program is free software, you can redistribute it and/or modify it
under the same terms as Perl itself.
| dir | bin/ |
| dir | debian/ |
| dir | lib/ |
| dir | t/ |
| file | Changes |
| file | LICENSE |
| file | MANIFEST |
| file | META.json |
| file | META.yml |
| file | Makefile.PL |
| file | README |
| file | dist.ini |