markov: try harder when generating strings
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Sat, 21 Feb 2009 19:03:53 +0000 (20:03 +0100)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Sun, 22 Feb 2009 00:58:05 +0000 (01:58 +0100)
commit27353b5177b4c4ea50b8b8c6617cd350519308f5
tree2cd1204d265eb8b556261ba6c43168c431b323ec
parent8aeceff885261b662ab373483e1669fcfbc42a21
markov: try harder when generating strings

generate_strings() is now able to work with a single word. Additionally,
when the given lookup is not found in the database, it will try
lookups that start, and failing that include, the given one.
data/rbot/plugins/markov.rb