Text::Greeking::zh_TW(3)

NAME
Text::Greeking::zh_TW - A module for generating meaningless Chinese text that creates the illusion of the finished document.

SYNOPSIS
  my $g = Text::Greeking::zh_TW->new;
  $g->paragraphs(3,15); # min of 1 paragraph and a max of 2
  $g->sentences(1,10);  # min of 2 sentences per paragraph and a max of 5
  $g->add_source($scalar); # use text yourself, not requisite
  print $g->generate;

DESCRIPTION
This module is for Chinese speakers to generate vary meanless Chinese text.

INTERFACE

new()
    Constructor.

paragraphs($min, $max)
    Sets the minimum and maximum number of paragraphs to generate. Default is a minimum of 2 and a maximum of 8.

sentences($min, $max)
    Sets the minimum and maximum number of sentences to generate per paragraph. Default is a minimum of 2 and a maximum of 8.

generate
    Returns a body of random text generated from a randomly selected source using the minimum and maximum values set by paragraphs, sentences, and words minimum and maximum values. If generate is called without any sources a standard Lorem Ipsum block is used added to the sources and then used for processing the random text.

add_source($scalar)
    Add text of yourself as corpus. Return instance itself, so we can add source serially.

        $g->add_source($source_one)->add_source($source_two);

SEE ALSO
<http://en.wikipedia.org/wiki/Greeking>

DEPENDENCIES
None.

INCOMPATIBILITIES
None reported.

BUGS AND LIMITATIONS
No bugs have been reported.

Please report any bugs or feature requests to "bug-text-greeking-zh_tw@rt.cpan.org", or through the web interface at <http://rt.cpan.org>.

AUTHORS
Lukhnos D. Liu "<lukhnos@gmail.com>", Kang-min Liu "<gugod@gugod.org>"

LICENCE AND COPYRIGHT
Copyright (c) 2007, 2008, 2009 Kang-min Liu "<gugod@gugod.org>", Lukhnos D. Liu "<lukhnos@gmail.com>".

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.

DISCLAIMER OF WARRANTY
BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR, OR CORRECTION.

IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENCE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.