GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  BOT::TRAINING (3)

.ds Aq ’

NAME

Bot::Training - Plain text training material for bots like Hailo and AI::MegaHAL

CONTENTS

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

AEvar Arnfjoerd` Bjarmason <avar@cpan.org>

LICENSE AND COPYRIGHT

Copyright 2010 AEvar Arnfjoerd` Bjarmason <avar@cpan.org>

This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 BOT::TRAINING (3) 2010-05-12

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.