]> git.saurik.com Git - apple/icu.git/blame - icuSources/data/translit/Latin_NumericPinyin.txt
ICU-551.51.4.tar.gz
[apple/icu.git] / icuSources / data / translit / Latin_NumericPinyin.txt
CommitLineData
73c04bcf
A
1# ***************************************************************************
2# *
b331163b 3# * Copyright (C) 2004-2015, International Business Machines
73c04bcf
A
4# * Corporation; Unicode, Inc.; and others. All Rights Reserved.
5# *
6# ***************************************************************************
7# File: Latin_NumericPinyin.txt
46f4442e 8# Generated from CLDR
73c04bcf 9#
374ca955
A
10::NFD (NFC);
11$tone = [\u0304\u0301\u030C\u0300\u0306] ;
729e4ab9
A
12e {($tone) r} → r &Pinyin-NumericPinyin($1);
13($tone) ( [i o n u {o n} {n g}]) → $2 &Pinyin-NumericPinyin($1);
14($tone) → &Pinyin-NumericPinyin($1);
b331163b 15$vowel = [aAeEiIoOuU {u\u0308} {U\u0308} vV];
374ca955
A
16$consonant = [[a-z A-Z] - [$vowel]];
17$digit = [1-5];
729e4ab9
A
18$1 &NumericPinyin-Pinyin($3) $2 ← ([aAeE]) ($vowel* $consonant*) ($digit);
19$1 &NumericPinyin-Pinyin($3) $2 ← ([oO]) ([$vowel-[aeAE]]* $consonant*) ($digit);
20$1 &NumericPinyin-Pinyin($3) $2 ← ($vowel) ($consonant*) ($digit);
21&NumericPinyin-Pinyin($1) ← [:letter:] {($digit)};
374ca955 22::NFC (NFD);