1^0 zero
21 uno
32 due
4^3$ tre
53$ tré
63 tre
74 quattro
85 cinque
96 sei
107 sette
118 otto
129 nove
1310 dieci
1411 undici
1512 dodici
1613 tredici
1714 quattordici
1815 quindici
1916 sedici
2017 diciassette
2118 diciotto
2219 diciannove
232([18]) vent$1
242(\d) venti$1
253([18]) trent$1
263(\d) trenta$1
274([18]) quarant$1
284(\d) quaranta$1
295([18]) cinquant$1
305(\d) cinquanta$1
316([18]) sessant$1
326(\d) sessanta$1
337([18]) settant$1
347(\d) settanta$1
358([18]) ottant$1
368(\d) ottanta$1
379([18]) novant$1
389(\d) novanta$1
391(\d\d) cento$1
40(\d)(\d\d) $1cento$2
411(\d{3}) mille$1
42(\d{1,2})(\d{3}) $1mila$2
43(\d{3})(\d{3}) $1mila[ $2]
441(\d{6}) un milione[ $1]
45(\d{1,3})(\d{6}) $1 milioni[ $2]
461(\d{9}) un miliardo[ $1]
47(\d{1,3})(\d{9}) $1 miliardi[ $2]
481(\d{12}) un bilione[ $1]
49(\d{1,3})(\d{12}) $1 bilioni[ $2]
501(\d{15}) un biliardo[ $1]
51(\d{1,3})(\d{15}) $1 biliardi[ $2]
521(\d{18}) un trilione[ $1]
53(\d{1,3})(\d{18}) $1 trilioni[ $2]
541(\d{21}) un triliardo[ $1]
55(\d{1,3})(\d{21}) $1 triliardi[ $2]
56
57# negative numbers
58
59[-−](\d+) meno |$1
60
61# decimals
62
63([-−]?\d+)[.,] $1| virgola
64([-−]?\d+[.,])([^0]\d) $1| |$2
65([-−]?\d+[.,])(\d)(\d)(\d) |$1 |$2| |$3| |$4
66([-−]?\d+[.,]\d*)(\d) $1| |$2
67
68# currencies
69
70# unit/subunit
71
72u:([^,]*),([^,]*),([^,]*)	\1
73s:([^,]*),([^,]*),([^,]*)	\2
74p:([^,]*),([^,]*),([^,]*)	\3
75
76CHF:(.)	$(\1: franco svizzero, centesimo, centesimi)
77CNY:(.)	$(\1: yuan renminbi, fen, fen)
78EUR:(.)	$(\1: euro, centesimo, centesimi)
79GBP:(.)	$(\1: lira sterlina, penny, pence)
80JPY:(.)	$(\1: yen, sen, sen)
81USD:(.)	$(\1: dollaro USA, cent, cent)
82
83"(JPY [-−]?\d+)[.,](\d\d)0" $1
84"(JPY [-−]?\d+[.,]\d\d)(\d)" $1 $2 rin
85
86"([A-Z]{3}) ([-−]?\d+)([.,]00?)?" $2$(\1:u)
87
88"(CNY [-−]?\d+)[.,](\d)0?" $1 $2 jiao
89"(CNY [-−]?\d+[.,]\d)(\d)" $1 $2 fen
90
91"(([A-Z]{3}) [-−]?\d+)[.,](01)" $1 uno$(\2:s)
92"(([A-Z]{3}) [-−]?\d+)[.,](\d)" $1 $(\30)$(\2:p)
93"(([A-Z]{3}) [-−]?\d+)[.,](\d\d)" $1 $3$(\2:p)
94
95== cardinal-feminine ==
96
971 una
98
99== cardinal-masculine ==
100
1011 un
102
103== cardinal-(feminine|masculine) ==
104
105(.*) $(\1 $2)
106
107== feminine ==
108
109(.*)uno \1una
110
111== masculine ==
112
113(.*)uno \1un
114
115== (feminine|masculine) ==
116
117(.*) \2
118
119== ordinal-feminine ==
120
121([-−]?\d+)	$(ordinal-feminine |$1)
122un[ao]		\1prima
123(.*)un[ao]	\1unesima
124due		seconda
125(.*)due		\1duesima
126(.*)tre		\1terza
127(.*)quattro	\1quarta
128(.*)cinque	\1quinta
129(.*)sei		\1sesta
130(.*)sette	\1settesima
131(.*)ootto	\1ottesima
132(.*)otto	\1ottesima
133(.*)nove	\1novesima
134(.*)dieci	\1decima
135(.*tr)é		\1eesima
136(.*sei)		\1esima
137"(.*)[^ ][ ]*"	\1esima
138
139== ordinal(-masculine)? ==
140([-−]?\d+) $(ordinal-masculine $(ordinal-feminine \2))
141(.*)a \2o
142
143== (ordinal)-number(-feminine|-masculine)? ==
144([-−]?\d+) \3$(ordinal-number $(\1\2 \3))
145.*a ª
146.*o º
147
148== help ==
149
150"" $(1), $(2), |$(3)|\n$(help cardinal-feminine)$(help cardinal-masculine)$(help ordinal-feminine)$(help ordinal-masculine)$(help ordinal-number-feminine)$(help ordinal-number-masculine)
151(.*) \1: $(\1 1), $(\1 2), |$(\1 3)|\n
152