Lingua::JA::Romaji::Valid::Rule
package Lingua::JA::Romaji::Valid::Something use base qw( Lingua::JA::Romaji::Valid::Rule ); my $rule = Lingua::JA::Romaji::Valid::Something->new; $rule->is_valid('ka');
Base class for various rules of romanization.
creates an object to provide rules for the validator.
returns if the kana (first argument) is valid or not.
sets and returns the valid consonants for the rule. Valid kana expressions are prepared with these consonants.
sets and returns exceptional invalid kana expressions for the rule.
sets and returns additional valid kana expressions for the rule.
sets and returns filters for the rule.
if set to true, the validator spits warnings when it encounters broken or banned kana expressions.
Kenichi Ishigaki, <ishigaki at cpan.org>
Copyright (C) 2007 by Kenichi Ishigaki.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Lingua::JA::Romaji::Valid, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Lingua::JA::Romaji::Valid
CPAN shell
perl -MCPAN -e shell install Lingua::JA::Romaji::Valid
For more information on module installation, please visit the detailed CPAN module installation guide.