<h2>normal mode (default)</h2>
<:
use Shiar_Sheet::Keyboard 2.07;
use Unicode::Normalize qw( NFKD );
<h2>normal mode (default)</h2>
<:
use Shiar_Sheet::Keyboard 2.07;
use Unicode::Normalize qw( NFKD );
- : $row[2] =~ /^\p{Latin}/ ? 3 # latin script
- : $row[2] =~ /^\p{Mn}/ ? 5 # combining accent
- : 4
+ : $row[2] =~ /^\p{Latin}/ ? 4 # latin script
+ : unidecode($row[2]) =~ /^\W*\Q$row[0]/ ? 5 # transliterated
+ : 7