NAME
Acme::Nyaa - Convert texts like which a cat is talking in Japanese
SYNOPSIS
use Acme::Nyaa::Ja;
my $kijitora = Acme::Nyaa::Ja->new();
# the following code is equivalent to the above.
use Acme::Nyaa;
my $kijitora = Acme::Nyaa->new( 'language' => 'ja' );
print $kijitora->cat( \'猫がかわいい。' ); # => 猫がかわいいニャー。
print $kijitora->neko( \'神と和解せよ' ); # => ネコと和解せよ
DESCRIPTION
Acme::Nyaa is a converter which translate Japanese texts to texts like which a cat talking. Language modules are available only Japanese (Acme::Nyaa::Ja) for now.
CLASS METHODS
new()
new() is a constructor of Acme::Nyaa::Ja
INSTANCE METHODS
cat( \$text )
cat() is a converter that appends string ニャー
at the end of each sentence.
neko( \$text )
neko() is a converter that replace a noun with ネコ
.
nyaa( [\$text] )
nyaa() returns string: ニャー
.
AUTHOR
azumakuniyuki <perl.org [at] azumakuniyuki.org>
SEE ALSO
LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.