]>
Commit | Line | Data |
---|---|---|
73c04bcf A |
1 | # *************************************************************************** |
2 | # * | |
46f4442e | 3 | # * Copyright (C) 2004-2008, 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] ; | |
374ca955 A |
12 | e {($tone) r} > r &tone-digit($1); |
13 | ($tone) ( [i o n u {o n} {n g}]) > $2 &tone-digit($1); | |
14 | ($tone) > &tone-digit($1); | |
73c04bcf | 15 | $vowel = [aAeEiIoOuUüÜ {u\u0308} {U\u0308} ]; |
374ca955 A |
16 | $consonant = [[a-z A-Z] - [$vowel]]; |
17 | $digit = [1-5]; | |
18 | $1 &digit-tone($3) $2 < ([aAeE]) ($vowel* $consonant*) ($digit); | |
19 | $1 &digit-tone($3) $2 < ([oO]) ([$vowel-[aeAE]]* $consonant*) ($digit); | |
20 | $1 &digit-tone($3) $2 < ($vowel) ($consonant*) ($digit); | |
21 | &digit-tone($1) < [:letter:] {($digit)}; | |
374ca955 | 22 | ::NFC (NFD); |