Home | History | Annotate | Download | only in rbnf
      1 <?xml version="1.0" encoding="UTF-8" ?>
      2 <!DOCTYPE ldml SYSTEM "../../common/dtd/ldml.dtd">
      3 <!--
      4 Copyright  1991-2013 Unicode, Inc.
      5 CLDR data files are interpreted according to the LDML specification (http://unicode.org/reports/tr35/)
      6 For terms of use, see http://www.unicode.org/copyright.html
      7 -->
      8 <ldml>
      9     <identity>
     10 		<version number="$Revision: 12722 $"/>
     11 		<language type="ee"/>
     12     </identity>
     13     <rbnf>
     14         <!-- Thanks to Gilbert Adjoyi for instructions on Ewe number spellout. -->
     15         <!-- Some of the explanatory comments are quoted from -->
     16         <!-- http://www.uni-koeln.de/phil-fak/afrikanistik/down/publikationen/basic_ewe.pdf -->
     17         <rulesetGrouping type="SpelloutRules">
     18             <ruleset type="spellout-numbering-year">
     19 				<rbnfrule value="x.x">=0.0=;</rbnfrule>
     20                 <rbnfrule value="0">=%spellout-numbering=;</rbnfrule>
     21             </ruleset>
     22             <ruleset type="spellout-numbering">
     23                 <rbnfrule value="0">=%spellout-cardinal=;</rbnfrule>
     24             </ruleset>
     25 			<ruleset type="after-hundreds" access="private"><!-- insert "kple" (and) per Ewe conventions -->
     26                 <rbnfrule value="0">kple =%spellout-cardinal=;</rbnfrule>
     27                 <rbnfrule value="21">=%spellout-cardinal=;</rbnfrule>
     28                 <rbnfrule value="30">kple =%spellout-cardinal=;</rbnfrule>
     29                 <rbnfrule value="31">=%spellout-cardinal=;</rbnfrule>
     30                 <rbnfrule value="40">kple =%spellout-cardinal=;</rbnfrule>
     31                 <rbnfrule value="41">=%spellout-cardinal=;</rbnfrule>
     32                 <rbnfrule value="50">kple =%spellout-cardinal=;</rbnfrule>
     33                 <rbnfrule value="51">=%spellout-cardinal=;</rbnfrule>
     34                 <rbnfrule value="60">kple =%spellout-cardinal=;</rbnfrule>
     35                 <rbnfrule value="61">=%spellout-cardinal=;</rbnfrule>
     36                 <rbnfrule value="70">kple =%spellout-cardinal=;</rbnfrule>
     37                 <rbnfrule value="71">=%spellout-cardinal=;</rbnfrule>
     38                 <rbnfrule value="80">kple =%spellout-cardinal=;</rbnfrule>
     39                 <rbnfrule value="81">=%spellout-cardinal=;</rbnfrule>
     40                 <rbnfrule value="90">kple =%spellout-cardinal=;</rbnfrule>
     41                 <rbnfrule value="91">=%spellout-cardinal=;</rbnfrule>
     42             </ruleset>
     43             <ruleset type="after-thousands" access="private">
     44                 <rbnfrule value="0">' kple =%spellout-cardinal=;</rbnfrule>
     45                 <rbnfrule value="100">' =%spellout-cardinal=;</rbnfrule>
     46             </ruleset>
     47             <ruleset type="after-hundred-thousands" access="private">
     48                 <rbnfrule value="0">' kpakple =%spellout-cardinal=;</rbnfrule>
     49                 <rbnfrule value="100">' =%spellout-cardinal=;</rbnfrule>
     50             </ruleset>
     51             <ruleset type="after-millions" access="private">
     52                 <rbnfrule value="0">' kpakple =%spellout-cardinal=;</rbnfrule>
     53                 <rbnfrule value="1000">' kple =%spellout-cardinal=;</rbnfrule>
     54                 <rbnfrule value="100000">' =%spellout-cardinal=;</rbnfrule>
     55             </ruleset>
     56             <ruleset type="after-billions" access="private">
     57                 <rbnfrule value="0">' kpakple =%spellout-cardinal=;</rbnfrule>
     58                 <rbnfrule value="1000">' kple =%spellout-cardinal=;</rbnfrule>
     59                 <rbnfrule value="100000000">' kple =%spellout-cardinal=;</rbnfrule>
     60                 <rbnfrule value="100000000000">' =%spellout-cardinal=;</rbnfrule>
     61             </ruleset>
     62             <ruleset type="spellout-base" access="private">
     63                 <rbnfrule value="0">ekeo;</rbnfrule>
     64                 <rbnfrule value="1">ek;</rbnfrule>
     65                 <rbnfrule value="2">eve;</rbnfrule>
     66                 <rbnfrule value="3">et;</rbnfrule>
     67                 <rbnfrule value="4">ene;</rbnfrule>
     68                 <rbnfrule value="5">at;</rbnfrule>
     69                 <rbnfrule value="6">ade;</rbnfrule>
     70                 <rbnfrule value="7">adre;</rbnfrule>
     71                 <rbnfrule value="8">enyi;</rbnfrule>
     72                 <rbnfrule value="9">asieke;</rbnfrule>
     73                 <rbnfrule value="10">ewo;</rbnfrule>
     74                 <rbnfrule value="11">wui;</rbnfrule>
     75                 <rbnfrule value="20">bla[ v ];</rbnfrule>
     76                 <rbnfrule value="100">alafa %spellout-cardinal[ %%after-hundreds];</rbnfrule>
     77                 <rbnfrule value="1000">akpe %spellout-cardinal[%%after-thousands];</rbnfrule>
     78                 <rbnfrule value="100000" radix="1000">akpe %spellout-cardinal[%%after-hundred-thousands];</rbnfrule>
     79                 <rbnfrule value="1000000">milin %spellout-cardinal[%%after-millions];</rbnfrule>
     80                 <rbnfrule value="1000000000">milin akpe %spellout-cardinal[%%after-millions];</rbnfrule>
     81                 <rbnfrule value="1000000000000">bilin %spellout-cardinal[%%after-billions];</rbnfrule>
     82                 <rbnfrule value="1000000000000000000">=#,##0=;</rbnfrule>
     83             </ruleset>
     84             <ruleset type="spellout-cardinal">
     85                 <rbnfrule value="-x"> xlyimegbee;</rbnfrule>
     86                 <rbnfrule value="0.x">kak ;</rbnfrule>
     87                 <rbnfrule value="x.x"> kple kak ;</rbnfrule>
     88                 <rbnfrule value="0">ekeo;</rbnfrule>
     89                 <rbnfrule value="1">eka;</rbnfrule>
     90                 <rbnfrule value="2">=%%spellout-base=;</rbnfrule>
     91             </ruleset>
     92             <ruleset type="spellout-ordinal">
     93                 <rbnfrule value="-x"> xlyimegbee;</rbnfrule>
     94                 <rbnfrule value="x.x">=#,##0.0=lia;</rbnfrule>
     95                 <rbnfrule value="0">ekeolia;</rbnfrule>
     96                 <rbnfrule value="1">gbt;</rbnfrule>
     97                 <rbnfrule value="2">=%spellout-cardinal=lia;</rbnfrule>
     98             </ruleset>
     99         </rulesetGrouping>
    100         <rulesetGrouping type="OrdinalRules">
    101             <ruleset type="digits-ordinal">
    102                 <rbnfrule value="-x">;</rbnfrule>
    103                 <rbnfrule value="0">=#,##0= lia;</rbnfrule>
    104                 <rbnfrule value="1">=#,##0= t;</rbnfrule>
    105                 <rbnfrule value="2">=#,##0= lia;</rbnfrule>
    106             </ruleset>
    107         </rulesetGrouping>
    108     </rbnf>
    109 </ldml>
    110