blob: 18a8c2be4a65afe7fc5a2802c5b4c72c3bdd8fc8 [file] [log] [blame]
# ***************************************************************************
# *
# * Copyright (C) 2004-2007, International Business Machines
# * Corporation; Unicode, Inc.; and others. All Rights Reserved.
# *
# ***************************************************************************
# File: Latin_NumericPinyin.txt
# Generated from CLDR
#
::NFD (NFC);
$tone = [\u0304\u0301\u030C\u0300\u0306] ;
e {($tone) r} > r &tone-digit($1);
($tone) ( [i o n u {o n} {n g}]) > $2 &tone-digit($1);
($tone) > &tone-digit($1);
$vowel = [aAeEiIoOuUüÜ {u\u0308} {U\u0308} ];
$consonant = [[a-z A-Z] - [$vowel]];
$digit = [1-5];
$1 &digit-tone($3) $2 < ([aAeE]) ($vowel* $consonant*) ($digit);
$1 &digit-tone($3) $2 < ([oO]) ([$vowel-[aeAE]]* $consonant*) ($digit);
$1 &digit-tone($3) $2 < ($vowel) ($consonant*) ($digit);
&digit-tone($1) < [:letter:] {($digit)};
::NFC (NFD);