README
1README for Algorithm::MarkovChain 0.05
2
3=head1 NAME
4
5Algorithm::MarkovChain - Object oriented Markov chain generator
6
7=head1 SYNOPSIS
8
9 use Algorithm::MarkovChain;
10
11 my $chain = Algorithm::MarkovChain::->new();
12
13 # learn about things from @symbols
14 $chain->seed(symbols => \@symbols,
15 longest => 6);
16
17 # attempt to tell me something about the sky
18 my @newness = $chain->spew(length => 20,
19 complete => [ qw( the sky is ) ]);
20
21
22
23=head1 INSTALLATION
24
25 perl Build.PL
26 perl Build test
27
28and if all goes well
29
30 perl Build install
31
32=head1 HISTORY
33
34What changed over the last 3 revisions
35
36=over
37
38=item 0.06 Sunday 9th March, 2004
39
40 Fix for rt.cpan.org #6259
41 Converted to Module::Build
42
43
44=item 0.03 Tue Oct 31 16:22:56 2000
45
46 - change in spew behavior, prevents infinite loops in the case
47 that a chainset is self-referential
48
49
50=item 0.02 Mon Oct 09 17:54:00 2000
51
52 - test for existence of chains in spew to prevent looping
53
54
55=back
56
57=head1 AUTHOR
58
59Richard Clamp <richardc@unixbeard.net>
60
61=head1 SEE ALSO
62
63perl(1).
64
65