Sha256: 5594178aa43f7bdbf583f7cb5aa40a9b623ec083a443009823580132d352b020
Contents?: true
Size: 871 Bytes
Versions: 1
Compression:
Stored size: 871 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
twitter_cldr-6.13.0 | resources/shared/transforms/Latin-NumericPinyin.yml |