id.sor 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. ^0 nol
  2. 1 satu
  3. 2 dua
  4. 3 tiga
  5. 4 empat
  6. 5 lima
  7. 6 enam
  8. 7 tujuh
  9. 8 delapan
  10. 9 sembilan
  11. 10 sepuluh
  12. 11 sebelas
  13. 1(\d) $1 belas
  14. (\d)(\d) $1 puluh[ $2]
  15. 1(\d\d) seratus[ $1]
  16. (\d)(\d\d) $1 ratus[ $2]
  17. 1(\d{3}) seribu[ $1]
  18. (\d{1,3})(\d{3}) $1 ribu[ $2]
  19. # sejuta or setu juta etc.
  20. (\d{1,3})(\d{6}) $1 juta[ $2]
  21. (\d{1,3})(\d{9}) $1 miliar[ $2]
  22. (\d{1,3})(\d{12}) $1 triliun[ $2]
  23. (\d{1,3})(\d{15}) $1 kuadriliun[ $2]
  24. (\d{1,3})(\d{18}) $1 kuantiliun[ $2]
  25. (\d{1,3})(\d{21}) $1 sextiliun[ $2]
  26. (\d{1,3})(\d{24}) $1 septiliun[ $2]
  27. # negative numbers
  28. [-−](\d+) minus |$1
  29. # decimals
  30. "([-−]?\d+)[.,]" $1| koma
  31. "([-−]?\d+[.,]\d*)(\d)" $1| |$2
  32. # currency
  33. # unit/subunit
  34. u:(.*),(.*) \1
  35. s:(.*),(.*) \2
  36. AUD:(.) $(\1: dollar Australia, sen)
  37. BGN:(.) $(\1: lev, leva, stotinka, stotinki)
  38. BWP:(.) $(\1: pula, pula, thebe, thebe)
  39. CAD:(.) $(\1: dollar Kanada, sen)
  40. CHF:(.) $(\1: franc Swiss, sen)
  41. CNY:(.) $(\1: yuan, fen)
  42. CZK:(.) $(\1: koruna Czech, koruna Czech, halér, halére)
  43. EEK:(.) $(\1: kroon, kroonid, sen)
  44. EUR:(.) $(\1: euro, sen)
  45. GBP:(.) $(\1: pound sterling, penny)
  46. GHS:(.) $(\1: cedi Ghana, pesewas)
  47. GMD:(.) $(\1: dalasi, bututs)
  48. HKD:(.) $(\1: dollar Hongkong, sen)
  49. IDR:(.) $(\1: rupiah, sen)
  50. INR:(.) $(\1: rupee India, paisa)
  51. JMD:(.) $(\1: dollar Jamaika, sen)
  52. JPY:(.) $(\1: yen, sen)
  53. KRW:(.) $(\1: won, chon)
  54. KES:(.) $(\1: shilling Kenya, sen)
  55. LRD:(.) $(\1: dollar Liberia, sen)
  56. LSL:(.) $(\1: loti, sente)
  57. LTL:(.) $(\1: litas, sen)
  58. LVL:(.) $(\1: lats, sen)
  59. MGA:(.) $(\1: ariary, iraimbilanja)
  60. MUR:(.) $(\1: rupee Mauritius, sen)
  61. MXN:(.) $(\1: peso Meksiko, centavo)
  62. MWK:(.) $(\1: kwacha Malawi, tambala)
  63. NAD:(.) $(\1: dollar Namibia, sen)
  64. NGN:(.) $(\1: naira, kobo)
  65. NZD:(.) $(\1: dollar New Zealand, sen)
  66. PGK:(.) $(\1: kina, toea)
  67. PHP:(.) $(\1: peso Filipina, centavo)
  68. PKR:(.) $(\1: rupee Pakistan, paisa)
  69. PLN:(.) $(\1: zloty, grosz)
  70. RON:(.) $(\1: leu Romania, ban)
  71. RSD:(.) $(\1: dinar Serbia, para)
  72. RUB:(.) $(\1: ruble Russia, kopek)
  73. RWF:(.) $(\1: franc Rwanda, centime)
  74. SGD:(.) $(\1: dollar Singapura, sen)
  75. SLL:(.) $(\1: leone, sen)
  76. SZL:(.) $(\1: lilangeni, sen)
  77. THB:(.) $(\1: baht, satang)
  78. TRY:(.) $(\1: lira Turki, kurus)
  79. TTD:(.) $(\1: dollar Trinidad dan Tobago, sen)
  80. TZS:(.) $(\1: shilling Tanzania,sen)
  81. UAH:(.) $(\1: hryvnia, kopiyka)
  82. UGX:(.) $(\1: shilling Uganda, sen)
  83. USD:(.) $(\1: dolar Amerika, sen)
  84. ZAR:(.) $(\1: rand Afrika Selatan, sen)
  85. ZMK:(.) $(\1: kwacha Zambia, ngwee)
  86. ZWL:(.) $(\1: dollar Zimbabwe, sen)
  87. "(JPY [-−]?\d+)[.,](\d\d)0" $1
  88. "(JPY [-−]?\d+[.,]\d\d)(\d)" $1 $2 rin
  89. "([A-Z]{3}) ([-−]?\d+)([.,]00?)?" $2$(\1:u)
  90. "(CNY [-−]?\d+)[.,](\d)0?" $1 $2 yiao
  91. "(CNY [-−]?\d+[.,]\d)(\d)" $1 $2 fen
  92. "(([A-Z]{3}) [-−]?\d+)[.,](\d)" $1 dan $(\30)$(\2:s)
  93. "(([A-Z]{3}) [-−]?\d+)[.,](\d\d)" $1 dan $3$(\2:s)
  94. == ordinal ==
  95. 1 pertama
  96. (\d+) $(ordinal ke$1)
  97. "kesatu (.*)" kese\1
  98. (.*) \1
  99. == ordinal-number ==
  100. 1 1
  101. (\d+) ke-\1
  102. == help ==
  103. "" $(1), $(2), $(3)\n$(help ordinal)$(help ordinal-number)
  104. (ordinal(-number)?) \1: $(\1 1), $(\1 2), $(\1 3)\n