fr.sor 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. ^0 zéro
  2. 1 un
  3. 2 deux
  4. 3 trois
  5. 4 quatre
  6. 5 cinq
  7. 6 six
  8. 7 sept
  9. 8 huit
  10. 9 neuf
  11. 10 dix
  12. 11 onze
  13. 12 douze
  14. 13 treize
  15. 14 quatorze
  16. 15 quinze
  17. 16 seize
  18. 20 vingt
  19. 30 trente
  20. 40 quarante
  21. 50 cinquante
  22. 60 soixante
  23. 71 septante-et-un # [:fr-CH:] [:fr-BE:]
  24. 7(\d) septante[-$1] # [:fr-CH:] [:fr-BE:]
  25. 71 soixante-et-onze # default
  26. 7(\d) soixante-$(1\1) # default
  27. 81 huitante-et-un # [:fr-CH:]
  28. 8(\d) huitante[-$1] # [:fr-CH:]
  29. 80$ quatre-vingts # default
  30. 80 quatre-vingt # default
  31. 81 quatre-vingt-un # default
  32. 91 nonante-et-un # [:fr-CH:] [:fr-BE:]
  33. 9(\d) nonante[-$1] # [:fr-CH:] [:fr-BE:]
  34. 9(\d) quatre-vingt-$(1\1) # default
  35. (\d)1 $(\10)-et-un
  36. (\d)(\d) $(\10)-$2
  37. 1(\d\d) cent[-$1]
  38. (\d)00$ $1-cents
  39. (\d)(\d\d) $1-cent[-$2]
  40. 1(\d{3}) mille[-$1]
  41. (\d{1,3})(\d{3}) $1-mille[-$2]
  42. 1(\d{6}) un-million[-$1]
  43. (\d{1,3})(\d{6}) $1|-millions[-$2]
  44. 1(\d{9}) un-milliard[-$1]
  45. (\d{1,3})(\d{9}) $1|-milliards[-$2]
  46. 1(\d{12}) un-billion[-$1]
  47. (\d{1,3})(\d{12}) $1|-billions[-$2]
  48. 1(\d{15}) un-billiard[-$1]
  49. (\d{1,3})(\d{15}) $1|-billiards[-$2]
  50. 1(\d{18}) un-trillion[-$1]
  51. (\d{1,3})(\d{18}) $1|-trillions[-$2]
  52. 1(\d{21}) un-trilliard[-$1]
  53. (\d{1,3})(\d{21}) $1|-trilliards[-$2]
  54. 1(\d{24}) un-quadrillion[-$1]
  55. (\d{1,3})(\d{24}) $1|-quadrillions[-$2]
  56. # negative number
  57. [-−](\d+) moins |$1
  58. # decimals
  59. "([-−]?\d+)[.,]" "$1| virgule"
  60. "([-−]?\d+[.,]0*)(\d+)" $1 |$2
  61. # currency
  62. # unit/subunit singular/plural
  63. us:([^,]*),([^,]*),([^,]*),([^,]*),([^,]*),([^,]*) \1
  64. up:([^,]*),([^,]*),([^,]*),([^,]*),([^,]*),([^,]*) \2
  65. ud:([^,]*),([^,]*),([^,]*),([^,]*),([^,]*),([^,]*) \3
  66. ss:([^,]*),([^,]*),([^,]*),([^,]*),([^,]*),([^,]*) \4
  67. sp:([^,]*),([^,]*),([^,]*),([^,]*),([^,]*),([^,]*) \5
  68. # masculine/feminine
  69. mf:.*un(e?) \1
  70. BIF:(\D+) $(\1: franc burundais, francs burundais, de francs burundais, centime, centimes, un)
  71. CAD:(\D+) $(\1: dollar canadien, dollars canadiens, de dollars canadiens, cent, cents, un)
  72. CDF:(\D+) $(\1: franc congolais, francs congolais, de francs congolais, centime, centimes, un)
  73. CHF:(\D+) $(\1: franc suisse, francs suisses, de francs suisses, centime, centimes, un)
  74. DJF:(\D+) $(\1: franc de Djibouti, francs de Djibouti, de francs de Djibouti, centime, centimes, un)
  75. DZD:(\D+) $(\1: dinar algérien, dinars algériens, de dinars algériens, centime, centimes, un)
  76. EUR:(\D+) $(\1: euro, euros, d’euros, centime, centimes, un)
  77. GBP:(\D+) $(\1: livre sterling, livres sterling, de livres sterling, penny, pennies, une)
  78. GNF:(\D+) $(\1: franc guinéen, francs guinéens, de francs guinéens,,, un)
  79. HTF:(\D+) $(\1: gourde, gourde, de gourde, centime, centimes, une)
  80. KMF:(\D+) $(\1: franc des Comores, francs des Comores, de francs des Comores, centime, centimes, un)
  81. LBP:(\D+) $(\1: livre libanaise, livres libanaises, de livres libanaises,,, une)
  82. MAD:(\D+) $(\1: dirham marocain, dirhams marocains, de dirhams marocains, centime, centimes, un)
  83. MGA:(\D+) $(\1: ariary, ariarys, d’ariarys, iraimbilanja, iraimbilanja, un)
  84. MRO:(\D+) $(\1: ouguiya, ouguiya, d’ouguiya, khoum, khoums, un)
  85. MUR:(\D+) $(\1: roupie mauricienne, roupies mauriciennes, de roupies mauriciennes, cent, cents, une)
  86. RWF:(\D+) $(\1: franc rwandais, francs rwandais, de francs rwandais, centime, centimes, un)
  87. SCR:(\D+) $(\1: roupie seychelloise, roupies seychelloises, de roupies seychelloise, cent, cents, une)
  88. TND:(\D+) $(\1: dinar tunisien, dinars tunisiens, de dinars tunisiens, millime, millimes, un)
  89. USD:(\D+) $(\1: dollar américain, dollars américains, de dollars américains, cent, cents, un)
  90. VUV:(\D+) $(\1: vatu, vatus, de vatus,,, un)
  91. X[AO]F:(\D+) $(\1: franc CFA, francs CFA, de francs CFA, centime, centimes, un)
  92. XPF:(\D+) $(\1: franc Pacifique, francs Pacifique, de francs Pacifique, centime, centimes, un)
  93. "(GNF|LBP|VUV) ([-−]?[01](.0+)?)" $2$(\1:us)
  94. "(GNF|LBP|VUV) ([-−]?\d+0{6,})" $2$(\1:ud)
  95. "(GNF|LBP|VUV) ([-−]?\d+[.,]\d+)" $2$(\1:up)
  96. "([A-Z]{3}) ([-−]?1)([.,]00?)?" $2$(\1:mf)$(\1:us) # un/une
  97. "([A-Z]{3}) ([-−]?\d*[02-9]1)([.,]00?)?" $2$(\1:mf)$(\1:up) # cent un/une mais pas cent onze
  98. "([A-Z]{3}) ([-−]?[0])([.,]00?)?" $2$(\1:us)
  99. "([A-Z]{3}) ([-−]?\d+0{6,})([.,]00?)?" $2$(\1:ud)
  100. "([A-Z]{3}) ([-−]?\d+)([.,]00?)?" $2|$(\1:up)
  101. "((MGA|MRO) [-−]?\d+)[.,]0" $1
  102. "((MGA|MRO) [-−]?\d+)[.,]2" $1 et |$(1)$(\2:ss)
  103. "((MGA|MRO) [-−]?\d+)[.,]4" $1 et |$(2)$(\2:sp)
  104. "((MGA|MRO) [-−]?\d+)[.,]6" $1 et |$(3)$(\2:sp)
  105. "((MGA|MRO) [-−]?\d+)[.,]8" $1 et |$(4)$(\2:sp)
  106. "((TND) [-−]?\d+)[.,](001)" $1 et |$(1)$(\2:ss)
  107. "((TND) [-−]?\d+)[.,](\d)" $1 et |$(\300)$(\2:sp)
  108. "((TND) [-−]?\d+)[.,](\d\d)" $1 et |$(\30)$(\2:sp)
  109. "((TND) [-−]?\d+)[.,](\d\d\d)" $1 et |$3$(\2:sp)
  110. "(([A-Z]{3}) [-−]?\d+)[.,](01)" $1 et |$(1)$(\2:ss)
  111. "(([A-Z]{3}) [-−]?\d+)[.,](\d)" $1 et |$(\30)$(\2:sp)
  112. "(([A-Z]{3}) [-−]?\d+)[.,](\d\d)" $1 et |$3$(\2:sp)
  113. == informal ==
  114. (1\d)00 $1-cents
  115. (1\d)(\d\d) $1-cent[-$1]
  116. (.*) $1
  117. == feminine ==
  118. 1 une
  119. (.*) $1
  120. == masculine ==
  121. (.*) $1
  122. == ordinal-feminine ==
  123. 1 première
  124. == ordinal(-feminine|-masculine)? ==
  125. 1 premier
  126. ([-−]?\d+) $(ordinal |$2)
  127. (.*)e \2ième # quatre etc.
  128. (.*)f \2vième # neuf
  129. (.*q) \2uième # cinq
  130. (.*) \2ième # others
  131. == ordinal-number-feminine ==
  132. 1 1ʳᵉ
  133. == ordinal-number(-feminine|-masculine)? ==
  134. 1 1ᵉʳ
  135. (\d+) \2ᵉ
  136. == help ==
  137. "" $(1), $(2), $(3)\n$(help feminine)$(help masculine)$(help ordinal)$(help ordinal-feminine)$(help ordinal-masculine)$(help ordinal-number-feminine)$(help ordinal-number-masculine)$(help informal)
  138. (informal) \1: $(\1 1100), $(\1 1200), $(\1 1300)\n
  139. (feminine|masculine|ordinal(-feminine|-masculine|-number)?) \1: $(\1 1), $(\1 2), $(\1 3)\n