1# ***************************************************************************
2# *
3# *  Copyright (C) 2004-2013, International Business Machines
4# *  Corporation; Unicode, Inc.; and others.  All Rights Reserved.
5# *
6# ***************************************************************************
7# File: Latin_NumericPinyin.txt
8# Generated from CLDR 
9#
10::NFD (NFC);
11$tone = [\u0304\u0301\u030C\u0300\u0306] ;
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);
15$vowel = [aAeEiIoOuUüÜ {u\u0308} {U\u0308} ];
16$consonant = [[a-z A-Z] - [$vowel]];
17$digit = [1-5];
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)};
22::NFC (NFD);
23