et.sor 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. ^0 null
  2. 1 üks
  3. 2 kaks
  4. 3 kolm
  5. 4 neli
  6. 5 viis
  7. 6 kuus
  8. 7 seitse
  9. 8 kaheksa
  10. 9 üheksa
  11. 10 kümme
  12. 1(\d) $1teist
  13. (\d)(\d) $1kümmend[ $2]
  14. 1(\d\d) sada[ $1]
  15. (\d)(\d\d) $1sada[ $2]
  16. 1(\d{3}) tuhat[ $1]
  17. (\d{1,3})(\d{3}) $1 tuhat[ $2]
  18. 1(\d{6}) miljon[ $1]
  19. (\d{1,3})(\d{6}) $1 miljonit[ $2]
  20. 1(\d{9}) miljard[ $1]
  21. (\d{1,3})(\d{9}) $1 miljardit[ $2]
  22. 1(\d{12}) biljon[ $1]
  23. (\d{1,3})(\d{12}) $1 biljonit[ $2]
  24. 1(\d{15}) biljard[ $1]
  25. (\d{1,3})(\d{15}) $1 biljardit[ $2]
  26. 1(\d{18}) triljon[ $1]
  27. (\d{1,3})(\d{18}) $1 triljonit[ $2]
  28. 1(\d{21}) triljard[ $1]
  29. (\d{1,3})(\d{21}) $1 triljardit[ $2]
  30. 1(\d{24}) kvadriljon[ $1]
  31. (\d{1,3})(\d{24}) $1 kvadriljonit[ $2]
  32. # negative numbers
  33. [-−](\d+) miinus |$1
  34. # decimals
  35. ([-−]?\d+)[.,]([01]) |$1| ja |$2 kümnendikku
  36. ([-−]?\d+)[.,](\d) |$1| ja |$2 kümnendikku
  37. ([-−]?\d+)[.,]0([01]) |$1| ja |$2 sajandikku
  38. ([-−]?\d+)[.,](\d\d) |$1| ja |$2 sajandikku
  39. ([-−]?\d+)[.,]00([01]) |$1| ja |$2 tuhandikku
  40. ([-−]?\d+)[.,](\d\d\d) |$1| ja |$2 tuhandikku
  41. "([-−]?\d+)[.,](\d)(\d)(\d)(\d)" |$1| ja |$2| |$3| |$4| |$5|
  42. "([-−]?\d+[.,]\d+)(\d)" $1 |$2|
  43. # currency
  44. # unit/subunit singular/singular partitive
  45. us:([^,]*),([^,]*),([^,]*),([^,]*) \1
  46. up:([^,]*),([^,]*),([^,]*),([^,]*) \2
  47. ss:([^,]*),([^,]*),([^,]*),([^,]*) \3
  48. sp:([^,]*),([^,]*),([^,]*),([^,]*) \4
  49. CHF:(\D+) $(\1: Šveitsi frank, Šveitsi franki, rapp, rappi)
  50. CNY:(\D+) $(\1: Hiina jüaan, Hiina jüaan, sent, senti)
  51. EEK:(\D+) $(\1: Eesti kroon, Eesti krooni, sent, senti)
  52. EUR:(\D+) $(\1: euro, eurot, sent, senti)
  53. GBP:(\D+) $(\1: Suurbritannia nael, Suurbritannia naela, penn, penni)
  54. JPY:(\D+) $(\1: Jaapani jeen, Jaapani jeeni, seniks, seniks)
  55. USD:(\D+) $(\1: USA dollar, USA dollarit, sent, senti)
  56. RUB:(\D+) $(\1: Vene rubla, Vene rublat, kopikas, kopikat)
  57. "(JPY [-−]?\d+)[.,](\d\d)0" $1
  58. "(JPY [-−]?\d+[.,]\d\d)1" $1 $2 riniks
  59. "(JPY [-−]?\d+[.,]\d\d)(\d)" $1 $2 riniks
  60. "([A-Z]{3}) ([-−]?1)([.,]00?)?" $2$(\1:us)
  61. "([A-Z]{3}) ([-−]?\d+)([.,]00?)?" $2$(\1:up)
  62. "(CNY [-−]?\d+)[.,]10?" $1 $2 tsjao
  63. "(CNY [-−]?\d+)[.,](\d)0?" $1 $2 tsjaoga
  64. "(CNY [-−]?\d+[.,]\d)1" $1 $2 fõn
  65. "(CNY [-−]?\d+[.,]\d)(\d)" $1 $2 fõniga
  66. "(([A-Z]{3}) [-−]?\d+)[.,](01)" $1 ja $(1)$(\2:ss)
  67. "(([A-Z]{3}) [-−]?\d+)[.,](\d)" $1 ja $(\30)$(\2:sp)
  68. "(([A-Z]{3}) [-−]?\d+)[.,](\d\d)" $1 ja $3$(\2:sp)
  69. "(([A-Z]{3}) [-−]?\d+)[.,](\d\d\d)" $1 ja $3$(\2:sp)
  70. "(([A-Z]{3}) [-−]?\d+)[.,](\d\d\d\d)" $1 ja $3$(\2:sp)
  71. == ordinal ==
  72. ^0 null
  73. 1 esimene
  74. 2 teine
  75. 3 kolmas
  76. ([4-9])$ $(ordinal \1)s
  77. 4 nelja
  78. 5 viie
  79. 6 kuue
  80. 7 seitsme
  81. 8 kaheksa
  82. 9 üheksa
  83. 10 kümnes
  84. 11 üheteistkümnes
  85. 12 kaheteistkümnes
  86. 13 kolmeteistkümnes
  87. 1(\d) $(ordinal \1)teistkümnes
  88. 20 kahekümnes
  89. 2(\d) kahekümne[ $(ordinal \1)]
  90. 30 kolmekümnes
  91. 3(\d) kolmekümne[ $(ordinal \1)]
  92. (\d)0 $(ordinal \1)kümnes
  93. (\d)(\d) $(ordinal \1)kümne $(ordinal \2)
  94. 100 sajas
  95. 1(\d\d) saja[ $(ordinal \1)]
  96. 200 kahesajas
  97. 2(\d\d) kahesaja[ $(ordinal \1)]
  98. (\d)(\d\d) $(ordinal \1)saja[ $(ordinal \2)]
  99. 1(\d{3}) tuhandes[ $(ordinal \1)]
  100. (\d{1,3})(\d{3}) $(ordinal \1)tuhande[ $(ordinal \2)]
  101. 1(\d{6}) miljones[ $(ordinal \1)]
  102. (\d{1,3})(\d{6}) $(ordinal \1)miljone[ $(ordinal \2)]
  103. 1(\d{9}) miljardes[ $(ordinal \1)]
  104. (\d{1,3})(\d{9}) $(ordinal \1)miljarde[ $(ordinal \2)]
  105. 1(\d{12}) biljones[ $(ordinal \1)]
  106. (\d{1,3})(\d{12}) $(ordinal \1)biljone[ $(ordinal \2)]
  107. == ordinal-number ==
  108. (\d+) \1.
  109. == help ==
  110. "" $(1), $(2), $(3)\n$(help ordinal)$(help ordinal-number)
  111. (ordinal(-number)?) \1: $(\1 1)|, $(\1 2)|, $(\1 3)\n