line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Lingua::JA::Romaji::Valid::Rule::Liberal; |
2
|
|
|
|
|
|
|
|
3
|
2
|
|
|
2
|
|
956
|
use strict; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
69
|
|
4
|
2
|
|
|
2
|
|
11
|
use warnings; |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
55
|
|
5
|
2
|
|
|
2
|
|
9
|
use base qw( Lingua::JA::Romaji::Valid::Rule ); |
|
2
|
|
|
|
|
49
|
|
|
2
|
|
|
|
|
304
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
__PACKAGE__->valid_consonants(qw( |
8
|
|
|
|
|
|
|
k s t n h m y r g z d b p |
9
|
|
|
|
|
|
|
ky sy ty ny hy my ry gy zy by py |
10
|
|
|
|
|
|
|
sh ch j jy dy l ly f v ts |
11
|
|
|
|
|
|
|
)); |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
__PACKAGE__->should_delete(qw()); |
14
|
|
|
|
|
|
|
__PACKAGE__->should_add(qw( wa wo shi chi tsu ji je ye fyu vyu )); |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
__PACKAGE__->filters(qw( |
17
|
|
|
|
|
|
|
normalize_n_with_apostrophe |
18
|
|
|
|
|
|
|
normalize_n_with_hyphen |
19
|
|
|
|
|
|
|
normalize_long_vowel_with_h |
20
|
|
|
|
|
|
|
normalize_long_vowel_with_symbols |
21
|
|
|
|
|
|
|
normalize_syllabic_nn |
22
|
|
|
|
|
|
|
normalize_syllabic_n |
23
|
|
|
|
|
|
|
normalize_syllabic_m |
24
|
|
|
|
|
|
|
normalize_geminate_cch |
25
|
|
|
|
|
|
|
)); |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
1; |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
__END__ |