line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Lingua::JA::Romaji::Valid::Rule::HepburnPassport; |
2
|
|
|
|
|
|
|
|
3
|
2
|
|
|
2
|
|
896
|
use strict; |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
60
|
|
4
|
2
|
|
|
2
|
|
10
|
use warnings; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
47
|
|
5
|
2
|
|
|
2
|
|
8
|
use base qw( Lingua::JA::Romaji::Valid::Rule ); |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
252
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
__PACKAGE__->valid_consonants(qw( |
8
|
|
|
|
|
|
|
k s t n h m y r g z d b p |
9
|
|
|
|
|
|
|
ky sh ch ny hy my ry gy j by py |
10
|
|
|
|
|
|
|
)); |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
__PACKAGE__->should_delete(qw( si ti tu hu zi di du )); |
13
|
|
|
|
|
|
|
__PACKAGE__->should_add(qw( shi chi tsu fu wa ji )); |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
__PACKAGE__->filters(qw( |
16
|
|
|
|
|
|
|
normalize_oh |
17
|
|
|
|
|
|
|
normalize_syllabic_n_m |
18
|
|
|
|
|
|
|
normalize_geminate_tch |
19
|
|
|
|
|
|
|
)); |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
1; |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
__END__ |