Hailo::Engine::Scored - MegaHAL-style reply scoring for Hailo
It generates multiple replies and applies a scoring algorithm to them, then returns the best one, similar to MegaHAL.
This is a hash reference which can have the following keys:
The number of replies to generate before returning the best one.
The time (in seconds) to spend on generating replies before returning the best one.
You can not specify both
interval at the same time. If neither is specified, a default
interval of 0.5 seconds will be used.
Hinrik Örn Sigurðsson, firstname.lastname@example.org
This module was based on code from Peter Teichman's Cobe project.
LICENSE AND COPYRIGHT
Copyright 2010 Hinrik Örn Sigurðsson and Ævar Arnfjörð Bjarmason <email@example.com>
This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.