README
1NAME
2 Text::Greeking::zh_TW - A module for generating meaningless Chinese text
3 that creates the illusion of the finished document.
4
5SYNOPSIS
6 my $g = Text::Greeking::zh_TW->new;
7 $g->paragraphs(3,15); # min of 1 paragraph and a max of 2
8 $g->sentences(1,10); # min of 2 sentences per paragraph and a max of 5
9 $g->add_source($scalar); # use text yourself, not requisite
10 print $g->generate;
11
12DESCRIPTION
13 This module is for Chinese speakers to generate vary meanless Chinese
14 text.
15
16INTERFACE
17 new()
18 Constructor.
19
20 paragraphs($min, $max)
21 Sets the minimum and maximum number of paragraphs to generate.
22 Default is a minimum of 2 and a maximum of 8.
23
24 sentences($min, $max)
25 Sets the minimum and maximum number of sentences to generate per
26 paragraph. Default is a minimum of 2 and a maximum of 8.
27
28 generate
29 Returns a body of random text generated from a randomly selected
30 source using the minimum and maximum values set by paragraphs,
31 sentences, and words minimum and maximum values. If generate is
32 called without any sources a standard Lorem Ipsum block is used
33 added to the sources and then used for processing the random text.
34
35 add_source($scalar)
36 Add text of yourself as corpus. Return instance itself, so we can
37 add source serially.
38
39 $g->add_source($source_one)->add_source($source_two);
40
41SEE ALSO
42 <http://en.wikipedia.org/wiki/Greeking>
43
44DEPENDENCIES
45 None.
46
47INCOMPATIBILITIES
48 None reported.
49
50BUGS AND LIMITATIONS
51 No bugs have been reported.
52
53 Please report any bugs or feature requests to
54 "bug-text-greeking-zh_tw@rt.cpan.org", or through the web interface at
55 <http://rt.cpan.org>.
56
57AUTHORS
58 Lukhnos D. Liu "<lukhnos@gmail.com>", Kang-min Liu "<gugod@gugod.org>"
59
60LICENCE AND COPYRIGHT
61 Copyright (c) 2007, 2008, 2009 Kang-min Liu "<gugod@gugod.org>", Lukhnos
62 D. Liu "<lukhnos@gmail.com>".
63
64 This module is free software; you can redistribute it and/or modify it
65 under the same terms as Perl itself. See perlartistic.
66
67DISCLAIMER OF WARRANTY
68 BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
69 FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
70 OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
71 PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
72 EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
73 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE
74 ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH
75 YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL
76 NECESSARY SERVICING, REPAIR, OR CORRECTION.
77
78 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
79 WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
80 REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENCE, BE LIABLE
81 TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL, OR
82 CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
83 SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
84 RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
85 FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
86 SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
87 DAMAGES.
88
89