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  -  HAILO (1)

.ds Aq ’

NAME

hailo - Command-line interface to the Hailo Markov bot

CONTENTS

USAGE



    usage: hailo [-abEfhLlopRrSsTtuv] [long options...]
        -v --version           Print version and exit
        -u --ui                Use UI CLASS
        -t --train             Learn from all the lines in FILE, use - for STDIN
        -s --stats             Print statistics about the brain
        -r --reply             Reply to STRING
        -p --progress          Display progress during the import
        -o --order             Markov order; How deep the rabbit hole goes
        -l --learn             Learn from STRING
        -h --help              Youre soaking it in
        -f --train-fast        Train with aggressive caching (memory-hungry!)
        -b --brain             Load/save brain to/from FILE
        -a --autosave          Save the brain on exit (on by default)
        -T --tokenizer         Use tokenizer CLASS
        -S --storage           Use storage CLASS
        -R --random-reply      Like --reply but takes no STRING; Babble at random
        -L --learn-reply       Learn from STRING and reply to it
        -E --engine            Use engine CLASS
        --ui-args              Arguments for the UI class
        --tokenizer-args       Arguments for the Tokenizer class
        --storage-args         Arguments for the Storage class
        --examples             Print examples along with the help message
        --engine-args          Arguments for the Engine class
        --brain-resource       Alias for `brain for backwards compatibility

        Note: All input/output and files are assumed to be UTF-8 encoded.



SYNOPSIS

Train in-memory using bot-training’s megahal.trn and reply:



    bot-training -f megahal | hailo --brain :memory: --train - --random-reply
    # ==> Time flies like a banana.



Create an on-disk brain for later use:



    bot-training -f megahal > megahal.trn
    hailo --brain hailo.sqlite --train megahal.trn
    hailo --brain hailo.sqlite --reply Reply to this, silly robot!
    # ==> No way! I dont want to think.



Interact with the brain using readline:



    hailo --brain hailo.sqlite
    Welcome to the Hailo interactive shell!
    Enter ".help" to show the built-in commands.
    Input thats not a command will be passed to Hailo to learn, and itll
    reply back.
    Hailo> Hello there
    # ==> Wife asked "what have you got there?" replied he, "just my cup of fur".



DESCRIPTION

See the documentation for Hailo for more information.

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 1 |  Main Index


perl v5.20.3 HAILO (1) 2011-09-18

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