sq.sor 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. ^0$ zero
  2. 1 një
  3. 2 dy
  4. 3 tre
  5. 4 katër
  6. 5 pesë
  7. 6 gjashtë
  8. 7 shtatë
  9. 8 tetë
  10. 9 nëntë
  11. 1(\d) [$1mbë]dhjetë
  12. 2(\d) njëzet[ e $1]
  13. 4(\d) dyzet[ e $1]
  14. (\d)(\d) $(cardinal-feminine \1)dhjetë[ e $2]
  15. (\d)(\d\d) $1qind[ e $2]
  16. (\d{1,3})(\d{3}) $1 mijë[ $2]
  17. (1)(\d{6}) $(cardinal-feminine \1) milion[ $2]
  18. (\d{1,3})(\d{6}) $(cardinal-feminine \1) milionë[ $2]
  19. (1)(\d{9}) $(cardinal-feminine \1) miliar[ $2]
  20. (\d{1,3})(\d{9}) $(cardinal-feminine \1) miliarë[ $2]
  21. (1)(\d{12}) $(cardinal-feminine \1) trilion[ $2]
  22. (\d{1,3})(\d{12}) $(cardinal-feminine \1) trilionë[ $2]
  23. # negative number
  24. [-−](\d+) minus |$1
  25. # decimals
  26. "([-−]?\d+)[.,]" "$1| presje"
  27. "([-−]?\d+[.,]\d*)(\d)" $1| |$2
  28. # currency
  29. # unit/subunit singular/plural
  30. us:([^,]*),([^,]*),([^,]*),([^,]*) \1
  31. up:([^,]*),([^,]*),([^,]*),([^,]*) \2
  32. ss:([^,]*),([^,]*),([^,]*),([^,]*) \3
  33. sp:([^,]*),([^,]*),([^,]*),([^,]*) \4
  34. ALL:(\D+) $(\1: lek, lekë, qindarka, qindarka)
  35. EUR:(\D+) $(\1: euro, euro, cent, cent)
  36. GBP:(\D+) $(\1: paund sterlina, paund sterlina, peni, peni)
  37. USD:(\D+) $(\1: dollari amerikan, dollarë amerikanë, cent, cent)
  38. "([A-Z]{3}) ([-−]?1)" $2$(\1:us)
  39. "([A-Z]{3}) ([-−]?\d+)" $2$(\1:up)
  40. "(([A-Z]{3}) [-−]?\d+)[.,](01)" $1 |$(1)$(\2:ss)
  41. "(([A-Z]{3}) [-−]?\d+)[.,](\d)" $1 |$(\30)$(\2:sp)
  42. "(([A-Z]{3}) [-−]?\d+)[.,](\d\d)" $1 |$3$(\2:sp)
  43. == cardinal-feminine ==
  44. 3 tri
  45. (\d+) $(cardinal-feminine $1)
  46. (.*)tre \1tri
  47. (.*) \1
  48. == cardinal(-masculine)? ==
  49. (\d+) $2
  50. == ordinal-feminine ==
  51. (\d+) e $(ordinal-feminine $1)
  52. (.*)një \1para
  53. (.*)të \1ta
  54. (.*)ë \1ta
  55. (.*) \1ta
  56. == ordinal(-masculine)? ==
  57. (\d+) i $(ordinal $2)
  58. (.*)një \2pari
  59. (.*)të \2ti
  60. (.*)ë \2ti
  61. (.*) \2ti
  62. == ordinal-number ==
  63. (.*) \1.
  64. == help ==
  65. "" |$(1)|, |$(2)|, |$(3)|\n$(help cardinal-feminine)$(help cardinal-masculine)$(help ordinal-feminine)$(help ordinal-masculine)$(help ordinal-number)
  66. (.*) \1: |$(\1 1)|, |$(\1 2)|, |$(\1 3)|\n