Name : perl-Acme-Lingua-ZH-Remix
| |
Version : 0.99
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : 1.47
| Date : 2024-08-05 20:56:32
|
Group : Development/Libraries/Perl
| Source RPM : perl-Acme-Lingua-ZH-Remix-0.99-1.47.src.rpm
|
Size : 0.05 MB
| |
Packager : (none)
| |
Summary : The Chinese sentence generator
|
Description :
Because lipsum is not funny enough, that is the reason to write this module.
This module is a Moo-based, with \'new\' method being the constructor.
The \'random_sentence\' method returns a string of one sentence of Chinese like:
真是完全失敗,孩子!怎麼不動了呢?
By default, it uses small corpus data from Project Gutenberg. The generated sentences are remixes of the corpus.
You can feed you own corpus data to the `feed` method:
my $x = Acme::Lingua::ZH::Remix->new; $x->feed($my_corpus);
say $x->random_santence;
The corpus should use full-width punctuation characters.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-A/openSUSE_Tumbleweed/noarch |