123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132 |
- ^0 zero
- 1 unu
- 2$ doi
- 2 două
- 3 trei
- 4 patru
- 5 cinci
- 6$ șase
- 6 șai
- 7 șapte
- 8 opt
- 9 nouă
- 10 zece
- 11 unsprezece
- 12 doisprezece
- 14 paisprezece
- 1(\d) $1sprezece
- (\d)(\d) $1zeci[ și $2]
- 1(\d\d) o sută[ $1]
- (\d)(\d\d) $1 sute[ $2]
- 1(\d{3}) o mie[ $1]
- (1?\d)(\d{3}) $1 mii[ $2]
- (\d{1,3})(\d{3}) $1 de mii[ $2]
- 1(\d{6}) un milion[ $1]
- (1?\d)(\d{6}) $1 milioane[ $2]
- (\d{1,3})(\d{6}) $1 de milioane[ $2]
- 1(\d{9}) un miliard[ $1]
- (1?\d)(\d{9}) $1 miliarde[ $2]
- (\d{1,3})(\d{9}) $1 de miliarde[ $2]
- 1(\d{12}) un trilion[ $1]
- (1?\d)(\d{12}) $1 trilioane[ $2]
- (\d{1,3})(\d{12}) $1 de trilioane[ $2]
- 1(\d{15}) un cvadrilion[ $1]
- (1?\d)(\d{15}) $1 cvadrilioane[ $2]
- (\d{1,3})(\d{15}) $1 de cvadrilioane[ $2]
- 1(\d{18}) un cvintilion[ $1]
- (1?\d)(\d{18}) $1 cvintilioane[ $2]
- (\d{1,3})(\d{18}) $1 de cvintilioane[ $2]
- 1(\d{21}) un sextilion[ $1]
- (1?\d)(\d{21}) $1 sextilioane[ $2]
- (\d{1,3})(\d{21}) $1 de sextilioane[ $2]
- 1(\d{24}) un septilion[ $1]
- (1?\d)(\d{24}) $1 septilioane[ $2]
- (\d{1,3})(\d{24}) $1 de septilioane[ $2]
- # negative number
- [-−](\d+) minus |$1
- # decimals
- "([-−]?\d+)[.,]" $1| virgulă
- "([-−]?\d+[.,])([^0]\d)" $1| |$2
- "([-−]?\d+[.,])(\d)(\d)(\d)" $1| |$2 |$3 |$4
- "([-−]?\d+[.,]\d*)(\d)" $1| |$2
- # currency
- # feminine/masculine correction for 1 and 2
- f:(.*)unu \1 o
- f:(.*do)i "\1uă "
- m:(.*un)u \1
- .:(.*) \1
- # unit/subunit, singular/plural, feminine/masculine unit, feminine/masculine subunit
- us(.).:([^,]*),([^,]*),([^,]*),([^,]*),([^,]*) $(\1:\6) \2
- up(.).:([^,]*),([^,]*),([^,]*),([^,]*),([^,]*) $(\1:\6) \3
- ss.(.):([^,]*),([^,]*),([^,]*),([^,]*),([^,]*) $(\1:\6) \4
- sp.(.):([^,]*),([^,]*),([^,]*),([^,]*),([^,]*) $(\1:\6) \5
- # "mm" means masculine unit and masculine subunit
- CHF:(.+),(.+) $(\1mm: franc elvețian, franci elvețieni, cent, cenți, \2)
- CNY:(.+),(.+) $(\1mm: yuan renminbi, yuani renminbi, fen, fen, \2)
- EUR:(.+),(.+) $(\1mm: euro, euro, cent, cenți, \2)
- GBP:(.+),(.+) $(\1fm: liră sterlină, lire sterline, penny, pence, \2)
- JPY:(.+),(.+) $(\1mm: yen, yeni, sen, sen, \2)
- RON:(.+),(.+) $(\1mm: leu românesc, lei românești, ban, bani, \2)
- USD:(.+),(.+) $(\1mm: dolar american, dolari americani, cent, cenți, \2)
- "([A-Z]{3}) ([-−]?1)([.,]00?)?" $(-remove-extra-space $(\1:us,|$2))
- "([A-Z]{3}) ([-−]?\d+)([.,]00?)?" $(-remove-extra-space $(\1:up,|$2))
- "(CNY [-−]?\d+)[.,]10?" $1| un jiao
- "(CNY [-−]?\d+)[.,](\d)0?" $1| $2| jiao
- "(CNY [-−]?\d+[.,]\d)1" $1| $2| fen
- "(CNY [-−]?\d+[.,]\d)(\d)" $1| $2| fen
- "(([A-Z]{3}) [-−]?\d+)[.,](01)" $(-remove-extra-space $1|$(\2:ss,$(1)))
- "(([A-Z]{3}) [-−]?\d+)[.,](\d)" $(-remove-extra-space $1|$(\2:sp,$(\30)))
- "(([A-Z]{3}) [-−]?\d+)[.,](\d\d)" $(-remove-extra-space $1|$(\2:sp,$3))
- == -remove-extra-space ==
- "^ (.*)" $(-remove-extra-space \1)
- "(.*) ( .*)" \1\2
- (.*) \1
- == ordinal(-masculine)? ==
- 1 primul
- ([-−]?\d+) al $(ordinal $2)
- (.*(opt|ilion|ard)) \2ulea
- (.*) \2lea
- == ordinal-feminine ==
- 1 prima
- ([-−]?\d+) a $(ordinal-feminine $1)
- (.*)doi \1doua
- (.*)cinci \1cincea
- (.*)[uă] \1a
- (.*)sute \1suta
- (.*)mi[ei] \1mia
- (.*)ane \1ana
- (.*) \1a
- == ordinal-number ==
- (\d+) \1.
- == help ==
- "" $(1), |$(2)|, $(3)\n$(help ordinal-feminine)$(help ordinal-masculine)$(help ordinal-number)
- (ordinal(-feminine|-masculine|-number)?) \1: $(\1 1), $(\1 2), $(\1 3)\n
|