Sha256: 596729698d2dd90af94023edbd530b095f20af5a4684c08e377aa572a1cfadaa
Contents?: true
Size: 859 Bytes
Versions: 28
Compression:
Stored size: 859 Bytes
Contents
--- :transforms: - :aliases: - und-pinyin-t-d0-npinyin :direction: both :rules: - "::NFD (NFC);" - "$tone = [̄́̌̀̆] ;" - "e {($tone) r} > r &Pinyin-NumericPinyin($1);" - "($tone) ( [i o n u {o n} {n g}]) > $2 &Pinyin-NumericPinyin($1);" - "($tone) > &Pinyin-NumericPinyin($1);" - "$vowel = [aAeEiIoOuU {ü} {Ü} vV];" - "$consonant = [[a-z A-Z] - [$vowel]];" - "$digit = [1-5];" - "$1 &NumericPinyin-Pinyin($3) $2 < ([aAeE]) ($vowel* $consonant*) ($digit);" - "$1 &NumericPinyin-Pinyin($3) $2 < ([oO]) ([$vowel-[aeAE]]* $consonant*) ($digit);" - "$1 &NumericPinyin-Pinyin($3) $2 < ($vowel) ($consonant*) ($digit);" - "&NumericPinyin-Pinyin($1) < [:letter:] {($digit)};" - "::NFC (NFD);" :source: Latin :target: NumericPinyin :variant: ~
Version data entries
28 entries across 28 versions & 1 rubygems