X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/46f4442e9a5a4f3b98b7c1083586332f6a8a99a4..4388f060552cc537e71e957d32f35e9d75a61233:/icuSources/data/rbnf/it.txt?ds=inline diff --git a/icuSources/data/rbnf/it.txt b/icuSources/data/rbnf/it.txt index 03724789..e4cf8136 100644 --- a/icuSources/data/rbnf/it.txt +++ b/icuSources/data/rbnf/it.txt @@ -1,172 +1,221 @@ -// *************************************************************************** +// *************************************************************************** // * -// * Copyright (C) 2004, 2007 International Business Machines -// * Corporation and others. All Rights Reserved. +// * Copyright (C) 2012 International Business Machines +// * Corporation and others. All Rights Reserved. +// * Tool: com.ibm.icu.dev.tool.cldr.LDML2ICUConverter.java +// * Source File:/common/rbnf/it.xml // * // *************************************************************************** -// - -it { - //------------------------------------------------------------ - // Rule Based Number Format Support - //------------------------------------------------------------ - -// * Spellout rules for Italian. Like German, most Italian numbers are -// * written as single words. What makes these rules complicated is the rule -// * that says that when a word ending in a vowel and a word beginning with -// * a vowel are combined into a compound, the vowel is dropped from the -// * end of the first word: 180 is "centottanta," not "centoottanta." -// * The complexity of this rule set is to produce this behavior. - -// * The "no-final" stanzas are used to deal with the fact that the number -// * three ( "tre" ) takes an accent when it is at the end of a word -// * like 23 ( ventitr ), but would NOT take an accent -// * in the context of a thousands or millions, for example, -// * 23,000 would be ventitremila, and would not have an accent on the "tre". -// - SpelloutRules { - // main rule set. Follows the patterns of the preceding rule sets, - // except that the final vowel is omitted from words ending in - // vowels when they are followed by another word; instead, we have - // separate rule sets that are identical to this one, except that - // all the words that don't begin with a vowel have a vowel tacked - // onto them at the front. A word ending in a vowel calls a - // substitution that will supply that vowel, unless that vowel is to - // be elided. - "%main:\n" - "-x: meno >>;\n" - "x.x: << virgola >>;\n" - "zero; uno; due; tre; quattro; cinque; sei; sette; otto; nove;\n" - "dieci; undici; dodici; tredici; quattordici; quindici; sedici;\n" - " diciasette; diciotto; diciannove;\n" - "20: venti; vent>%%with-i>;\n" - "30: trenta; trent>%%with-a>;\n" - "40: quaranta; quarant>%%with-a>;\n" - "50: cinquanta; cinquant>%%with-a>;\n" - "60: sessanta; sessant>%%with-a>;\n" - "70: settanta; settant>%%with-a>;\n" - "80: ottanta; ottant>%%with-a>;\n" - "90: novanta; novant>%%with-a>;\n" - "100: cento; cent[>%%with-o>];\n" - "200: <%%with-o>];\n" - "1000: mille; mille>>;\n" - "2000: <%%no-final%%with-a>;\n" - "100,000>>: <%%no-final>];\n" - "1,000,000: un milione; un milione >>;\n" - "2,000,000: << milioni[ >>];\n" - "1,000,000,000: un miliardo; un miliardo >>;\n" - "2,000,000,000: << miliardi[ >>];\n" - "1,000,000,000,000: =#,##0= (incomplete data);\n" - "%%no-final:\n" - "zero; uno; due; tre; quattro; cinque; sei; sette; otto; nove;\n" - "dieci; undici; dodici; tredici; quattordici; quindici; sedici;\n" - " diciasette; diciotto; diciannove;\n" - "20: venti; vent>%%with-i-nofinal>;\n" - "30: trenta; trent>%%with-a-nofinal>;\n" - "40: quaranta; quarant>%%with-a-nofinal>;\n" - "50: cinquanta; cinquant>%%with-a-nofinal>;\n" - "60: sessanta; sessant>%%with-a-nofinal>;\n" - "70: settanta; settant>%%with-a-nofinal>;\n" - "80: ottanta; ottant>%%with-a-nofinal>;\n" - "90: novanta; novant>%%with-a-nofinal>;\n" - "100: cento; cent[>%%with-o-nofinal>];\n" - "200: <%%with-o-nofinal>];\n" - "1,000: =%main=;\n" - "%%with-a:\n" - "azero; uno; adue; atr\u00E9; aquattro; acinque; asei; asette; otto; anove;\n" - "adieci; undici; adodici; atredici; aquattordici; aquindici; asedici;\n" - " adiciasette; adiciotto; adiciannove;\n" - "20: aventi; avent>%%with-i>;\n" - "30: atrenta; atrent>%%with-a>;\n" - "40: aquaranta; aquarant>%%with-a>;\n" - "50: acinquanta; acinquant>%%with-a>;\n" - "60: asessanta; asessant>%%with-a>;\n" - "70: asettanta; asettant>%%with-a>;\n" - "80: ottanta; ottant>%%with-a>;\n" - "90: anovanta; anovant>%%with-a>;\n" - "100: acento; acent[>%%with-o>];\n" - "200: <%%with-a%%with-o>];\n" - "1000: amille; amill[>%%with-i>];\n" - "2000: <%%with-a%%with-a>];\n" - "100,000: =%main=;\n" - "%%with-a-nofinal:\n" - "azero; uno; adue; atre; aquattro; acinque; asei; asette; otto; anove;\n" - "adieci; undici; adodici; atredici; aquattordici; aquindici; asedici;\n" - " adiciasette; adiciotto; adiciannove;\n" - "20: aventi; avent>%%with-i-nofinal>;\n" - "30: atrenta; atrent>%%with-a-nofinal>;\n" - "40: aquaranta; aquarant>%%with-a-nofinal>;\n" - "50: acinquanta; acinquant>%%with-a-nofinal>;\n" - "60: asessanta; asessant>%%with-a-nofinal>;\n" - "70: asettanta; asettant>%%with-a-nofinal>;\n" - "80: ottanta; ottant>%%with-a-nofinal>;\n" - "90: anovanta; anovant>%%with-a-nofinal>;\n" - "100: acento; acent[>%%with-o-nofinal>];\n" - "200: <%%with-a-nofinal%%with-o-nofinal>];\n" - "1,000: =%main=;\n" - "%%with-i:\n" - "izero; uno; idue; itr\u00E9; iquattro; icinque; isei; isette; otto; inove;\n" - "idieci; undici; idodici; itredici; iquattordici; iquindici; isedici;\n" - " idiciasette; idiciotto; idiciannove;\n" - "20: iventi; ivent>%%with-i>;\n" - "30: itrenta; itrent>%%with-a>;\n" - "40: iquaranta; iquarant>%%with-a>;\n" - "50: icinquanta; icinquant>%%with-a>;\n" - "60: isessanta; isessant>%%with-a>;\n" - "70: isettanta; isettant>%%with-a>;\n" - "80: ottanta; ottant>%%with-a>;\n" - "90: inovanta; inovant>%%with-a>;\n" - "100: icento; icent[>%%with-o>];\n" - "200: <%%with-i%%with-o>];\n" - "1000: imille; imill[>%%with-i>];\n" - "2000: <%%with-i%%with-a>];\n" - "100,000: =%main=;\n" - "%%with-i-nofinal:\n" - "izero; uno; idue; itre; iquattro; icinque; isei; isette; otto; inove;\n" - "idieci; undici; idodici; itredici; iquattordici; iquindici; isedici;\n" - " idiciasette; idiciotto; idiciannove;\n" - "20: iventi; ivent>%%with-i-nofinal>;\n" - "30: itrenta; itrent>%%with-a-nofinal>;\n" - "40: iquaranta; iquarant>%%with-a-nofinal>;\n" - "50: icinquanta; icinquant>%%with-a-nofinal>;\n" - "60: isessanta; isessant>%%with-a-nofinal>;\n" - "70: isettanta; isettant>%%with-a-nofinal>;\n" - "80: ottanta; ottant>%%with-a-nofinal>;\n" - "90: inovanta; inovant>%%with-a-nofinal>;\n" - "100: icento; icent[>%%with-o-nofinal>];\n" - "200: <%%with-i-nofinal%%with-o-nofinal>];\n" - "1,000: =%main=;\n" - "%%with-o:\n" - "ozero; uno; odue; otr\u00E9; oquattro; ocinque; osei; osette; otto; onove;\n" - "odieci; undici; ododici; otredici; oquattordici; oquindici; osedici;\n" - " odiciasette; odiciotto; odiciannove;\n" - "20: oventi; ovent>%%with-i>;\n" - "30: otrenta; otrent>%%with-a>;\n" - "40: oquaranta; oquarant>%%with-a>;\n" - "50: ocinquanta; ocinquant>%%with-a>;\n" - "60: osessanta; osessant>%%with-a>;\n" - "70: osettanta; osettant>%%with-a>;\n" - "80: ottanta; ottant>%%with-a>;\n" - "90: onovanta; onovant>%%with-a>;\n" - "100: ocento; ocent[>%%with-o>];\n" - "200: <%%with-o%%with-o>];\n" - "1000: omille; omill[>%%with-i>];\n" - "2000: <%%with-o%%with-a>];\n" - "100,000: =%main=;\n" - "%%with-o-nofinal:\n" - "ozero; uno; odue; otre; oquattro; ocinque; osei; osette; otto; onove;\n" - "odieci; undici; ododici; otredici; oquattordici; oquindici; osedici;\n" - " odiciasette; odiciotto; odiciannove;\n" - "20: oventi; ovent>%%with-i-nofinal>;\n" - "30: otrenta; otrent>%%with-a-nofinal>;\n" - "40: oquaranta; oquarant>%%with-a-nofinal>;\n" - "50: ocinquanta; ocinquant>%%with-a-nofinal>;\n" - "60: osessanta; osessant>%%with-a-nofinal>;\n" - "70: osettanta; osettant>%%with-a-nofinal>;\n" - "80: ottanta; ottant>%%with-a-nofinal>;\n" - "90: onovanta; onovant>%%with-a-nofinal>;\n" - "100: ocento; ocent[>%%with-o-nofinal>];\n" - "200: <%%with-o-nofinal%%with-o-nofinal>];\n" - "1,000: =%main=;\n" +/** + * ICU source: /xml/rbnf/it.xml + */ +it{ + RBNFRules{ + OrdinalRules{ + "%%dord-mascabbrev:", + "0: \u00BA;", + "%digits-ordinal-masculine:", + "-x: \u2212>>;", + "0: =#,##0==%%dord-mascabbrev=;", + "%%dord-femabbrev:", + "0: \u00AA;", + "%digits-ordinal-feminine:", + "-x: \u2212>>;", + "0: =#,##0==%%dord-femabbrev=;", + "%digits-ordinal:", + "0: =%digits-ordinal-masculine=;", + } + SpelloutRules{ + "%%lenient-parse:", + "&[last primary ignorable ] << ' ' << ',' << '-' << '\u00AD';", + "%spellout-numbering-year:", + "x.x: =#,###0.#=;", + "0: =%spellout-numbering=;", + "%spellout-numbering:", + "0: =%spellout-cardinal-masculine-o=;", + "%spellout-cardinal-masculine-o:", + "-x: meno >>;", + "x.x: << virgola >>;", + "0: zero;", + "1: uno;", + "2: due;", + "3: tre;", + "4: quattro;", + "5: cinque;", + "6: sei;", + "7: sette;", + "8: otto;", + "9: nove;", + "10: dieci;", + "11: undici;", + "12: dodici;", + "13: tredici;", + "14: quattordici;", + "15: quindici;", + "16: sedici;", + "17: diciasette;", + "18: diciotto;", + "19: diciannove;", + "20: vent>%%msco-with-i>;", + "30: trent>%%msco-with-a>;", + "40: quarant>%%msco-with-a>;", + "50: cinquant>%%msco-with-a>;", + "60: sessant>%%msco-with-a>;", + "70: settant>%%msco-with-a>;", + "80: ottant>%%msco-with-a>;", + "90: novant>%%msco-with-a>;", + "100: cent>%%msco-with-o>;", + "200: <<\u00ADcent>%%msco-with-o>;", + "1000: mille[\u00AD>>];", + "2000: <%%msc-no-final<\u00ADmila[\u00AD>>];", + "1000000: un milione[ >>];", + "2000000: <%spellout-cardinal-masculine< milioni[ >>];", + "1000000000: un miliardo[ >>];", + "2000000000: <%spellout-cardinal-masculine< miliardi[ >>];", + "1000000000000: un bilione[ >>];", + "2000000000000: <%spellout-cardinal-masculine< bilioni[ >>];", + "1000000000000000: un biliardo[ >>];", + "2000000000000000: <%spellout-cardinal-masculine< biliardi[ >>];", + "1000000000000000000: =#,##0=;", + "%%msco-with-i:", + "0: i;", + "1: \u00ADuno;", + "2: i\u00ADdue;", + "3: i\u00ADtr\u00E9;", + "4: i\u00AD=%spellout-cardinal-masculine-o=;", + "8: \u00ADotto;", + "9: i\u00ADnove;", + "10: ERROR;", + "%%msco-with-a:", + "0: a;", + "1: \u00ADuno;", + "2: a\u00ADdue;", + "3: a\u00ADtr\u00E9;", + "4: a\u00AD=%spellout-cardinal-masculine-o=;", + "8: \u00ADotto;", + "9: a\u00ADnove;", + "10: ERROR;", + "%%msco-with-o:", + "0: o;", + "1: \u00ADuno;", + "2: o\u00ADdue;", + "3: o\u00ADtr\u00E9;", + "4: o\u00AD=%spellout-cardinal-masculine-o=;", + "8: \u00ADotto;", + "9: o\u00AD=%spellout-cardinal-masculine-o=;", + "80: \u00AD=%spellout-cardinal-masculine-o=;", + "90: o\u00AD=%spellout-cardinal-masculine-o=;", + "%spellout-cardinal-masculine:", + "-x: meno >>;", + "x.x: << virgola >>;", + "0: zero;", + "1: un;", + "2: =%spellout-cardinal-masculine-o=;", + "20: vent>%%msc-with-i>;", + "30: trent>%%msc-with-a>;", + "40: quarant>%%msc-with-a>;", + "50: cinquant>%%msc-with-a>;", + "60: sessant>%%msc-with-a>;", + "70: settant>%%msc-with-a>;", + "80: ottant>%%msc-with-a>;", + "90: novant>%%msc-with-a>;", + "100: cent>%%msc-with-o>;", + "200: <<\u00ADcent>%%msc-with-o>;", + "1000: mille[\u00AD>>];", + "2000: <%%msc-no-final<\u00ADmila[\u00AD>>];", + "1000000: un milione[ >>];", + "2000000: <%spellout-cardinal-masculine< milioni[ >>];", + "1000000000: un miliardo[ >>];", + "2000000000: <%spellout-cardinal-masculine< miliardi[ >>];", + "1000000000000: un bilione[ >>];", + "2000000000000: <%spellout-cardinal-masculine< bilioni[ >>];", + "1000000000000000: un biliardo[ >>];", + "2000000000000000: <%spellout-cardinal-masculine< biliardi[ >>];", + "1000000000000000000: =#,##0=;", + "%%msc-with-i:", + "0: i;", + "1: \u00ADun;", + "2: =%%msco-with-i=;", + "%%msc-with-a:", + "0: a;", + "1: \u00ADun;", + "2: =%%msco-with-a=;", + "%%msc-with-o:", + "0: o;", + "1: \u00ADuno;", + "2: o\u00ADdue;", + "3: o\u00ADtr\u00E9;", + "4: o\u00AD=%spellout-cardinal-masculine-o=;", + "8: \u00ADotto;", + "9: o\u00AD=%spellout-cardinal-masculine-o=;", + "80: \u00AD=%spellout-cardinal-masculine-o=;", + "90: o\u00AD=%spellout-cardinal-masculine-o=;", + "%%msc-no-final:", + "0: ERROR;", + "2: =%spellout-cardinal-masculine=;", + "20: vent>%%msc-with-i-nofinal>;", + "30: trent>%%msc-with-a-nofinal>;", + "40: quarant>%%msc-with-a-nofinal>;", + "50: cinquant>%%msc-with-a-nofinal>;", + "60: sessant>%%msc-with-a-nofinal>;", + "70: settant>%%msc-with-a-nofinal>;", + "80: ottant>%%msc-with-a-nofinal>;", + "90: novant>%%msc-with-a-nofinal>;", + "100: cent>%%msc-with-o-nofinal>;", + "200: <<\u00ADcent>%%msc-with-o-nofinal>;", + "1000: ERROR;", + "%%msc-with-i-nofinal:", + "0: =%%msc-with-i=;", + "3: a\u00ADtre;", + "4: =%%msc-with-i=;", + "%%msc-with-a-nofinal:", + "0: =%%msc-with-a=;", + "3: a\u00ADtre;", + "4: =%%msc-with-a=;", + "%%msc-with-o-nofinal:", + "0: =%%msc-with-o=;", + "3: o\u00ADtre;", + "4: =%%msc-with-o=;", + "%spellout-cardinal-feminine:", + "-x: meno >>;", + "x.x: << virgola >>;", + "0: zero;", + "1: una;", + "2: =%spellout-cardinal-masculine-o=;", + "20: vent>%%fem-with-i>;", + "30: trent>%%fem-with-a>;", + "40: quarant>%%fem-with-a>;", + "50: cinquant>%%fem-with-a>;", + "60: sessant>%%fem-with-a>;", + "70: settant>%%fem-with-a>;", + "80: ottant>%%fem-with-a>;", + "90: novant>%%fem-with-a>;", + "100: cent>%%fem-with-o>;", + "200: <<\u00ADcent>%%fem-with-o>;", + "1000: mille[\u00AD>>];", + "2000: <%%msc-no-final<\u00ADmila[\u00AD>>];", + "1000000: un milione[ >>];", + "2000000: <%spellout-cardinal-masculine< milioni[ >>];", + "1000000000: un miliardo[ >>];", + "2000000000: <%spellout-cardinal-masculine< miliardi[ >>];", + "1000000000000: un bilione[ >>];", + "2000000000000: <%spellout-cardinal-masculine< bilioni[ >>];", + "1000000000000000: un biliardo[ >>];", + "2000000000000000: <%spellout-cardinal-masculine< biliardi[ >>];", + "1000000000000000000: =#,##0=;", + "%%fem-with-i:", + "0: i;", + "1: \u00ADuna;", + "2: =%%msco-with-i=;", + "%%fem-with-a:", + "0: a;", + "1: \u00ADuna;", + "2: =%%msco-with-a=;", + "%%fem-with-o:", + "0: o;", + "1: \u00ADuna;", + "2: =%%msco-with-o=;", + } } + Version{"2.0.58.57"} }