Name : perl-Acme-Lingua-ZH-Remix
| |
Version : 0.99
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp155.1.1
| Date : 2023-07-20 17:27:10
|
Group : Development/Libraries/Perl
| Source RPM : perl-Acme-Lingua-ZH-Remix-0.99-lp155.1.1.src.rpm
|
Size : 0.05 MB
| |
Packager : https://www_suse_com/
| |
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/15.5/noarch |