| 1 | package Lingua::JA::Romaji::Valid::Rule::HepburnRevised; | ||
| 2 | |||
| 3 | 2 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 2 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 2 | ▶ | use base qw( Lingua::JA::Romaji::Valid::Rule ); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | 2 | __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 | 2 | __PACKAGE__->should_delete(qw( si ti tu hu zi di du )); | |
| 13 | 2 | __PACKAGE__->should_add(qw( shi chi tsu fu ye wa wo ji )); | |
| 14 | |||
| 15 | 2 | __PACKAGE__->filters(qw( | |
| 16 | normalize_n_with_apostrophe | ||
| 17 | normalize_syllabic_n | ||
| 18 | normalize_geminate_tch | ||
| 19 | )); | ||
| 20 | |||
| 21 | 2 | 1; | |
| 22 | |||
| 23 | __END__ | ||