NAME
hailo - Command-line interface to the Hailo Markov bot
SYNOPSIS
Train in-memory from fortune files and reply:
for i in {1..1000}; do fortune >> /tmp/fortune.trn; done
hailo --brain :memory: --train /tmp/fortune.trn --reply art
# ==> He hath eaten me out of an art deeper than we ourselves.
Create an on-disk brain for later use:
hailo --brain hailo.brn --train /tmp/fortune.trn
hailo --brain hailo.brn --reply "is"
# ==> Earth is ballasted with bones of millions of dollars.
Interact with the brain using readline:
hailo --brain hailo.brn
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
Ævar Arnfjörð Bjarmason <avar@cpan.org>
LICENSE AND COPYRIGHT
Copyright 2010 Ævar Arnfjörð Bjarmason <avar@cpan.org>
This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.