Skip to content

Commit a8ca196

Browse files
mgrafupre-commit-ci[bot]
authored andcommitted
es and es_en changes for unified models (#143)
* enable capitalized itn for es Signed-off-by: Mariana Graterol Fuenmayor <mgrafu@gmail.com> * enable capitalized itn for es_en Signed-off-by: Mariana Graterol Fuenmayor <mgrafu@gmail.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * style changes Signed-off-by: Mariana Graterol Fuenmayor <mgrafu@gmail.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix imports Signed-off-by: Mariana Graterol Fuenmayor <mgrafu@gmail.com> * mod eval scripts Signed-off-by: Mariana Graterol Fuenmayor <marianag@nvidia.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update whitelist Signed-off-by: Mariana Graterol Fuenmayor <marianag@nvidia.com> * update currencies for es itn Signed-off-by: Mariana Graterol Fuenmayor <marianag@nvidia.com> * bugfix for es time grammar Signed-off-by: Mariana Graterol Fuenmayor <marianag@nvidia.com> * update cache for es Signed-off-by: Mariana Graterol Fuenmayor <marianag@nvidia.com> * ordinal tagger fix Signed-off-by: Mariana Graterol Fuenmayor <marianag@nvidia.com> * telephone tagger fix Signed-off-by: Mariana Graterol Fuenmayor <marianag@nvidia.com> * time tagger fix Signed-off-by: Mariana Graterol Fuenmayor <marianag@nvidia.com> * time verbalizer fix Signed-off-by: Mariana Graterol Fuenmayor <marianag@nvidia.com> * update cache Signed-off-by: Mariana Graterol Fuenmayor <marianag@nvidia.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Signed-off-by: Mariana Graterol Fuenmayor <mgrafu@gmail.com> Signed-off-by: Mariana <47233618+mgrafu@users.noreply.github.com> Signed-off-by: Mariana Graterol Fuenmayor <marianag@nvidia.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Signed-off-by: Alex Cui <alexcui1994@gmail.com>
1 parent 7eced19 commit a8ca196

File tree

90 files changed

+1657
-306
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

90 files changed

+1657
-306
lines changed

Jenkinsfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ pipeline {
1414
AR_TN_CACHE='/home/jenkinsci/TestData/text_norm/ci/grammars/04-24-24-0'
1515
DE_TN_CACHE='/home/jenkinsci/TestData/text_norm/ci/grammars/06-03-24-0'
1616
EN_TN_CACHE='/home/jenkinsci/TestData/text_norm/ci/grammars/08-02-24-0'
17-
ES_TN_CACHE='/home/jenkinsci/TestData/text_norm/ci/grammars/10-27-23-0'
18-
ES_EN_TN_CACHE='/home/jenkinsci/TestData/text_norm/ci/grammars/06-13-23-2'
17+
ES_TN_CACHE='/home/jenkinsci/TestData/text_norm/ci/grammars/07-23-24-0'
18+
ES_EN_TN_CACHE='/home/jenkinsci/TestData/text_norm/ci/grammars/07-23-24-0'
1919
FR_TN_CACHE='/home/jenkinsci/TestData/text_norm/ci/grammars/06-04-24-0'
2020
HU_TN_CACHE='/home/jenkinsci/TestData/text_norm/ci/grammars/07-16-24-0'
2121
PT_TN_CACHE='/home/jenkinsci/TestData/text_norm/ci/grammars/06-08-23-0'
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
Enero
2+
Febrero
3+
Marzo
4+
Abril
5+
Mayo
6+
Junio
7+
Julio
8+
Agosto
9+
Septiembre
10+
Octubre
11+
Noviembre
12+
Diciembre
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
A. N. E. antes de nuestra era
2+
A. E. C. antes de la era común
3+
A. C. antes de Cristo
4+
A. J. C. antes de Jesucristo
5+
A. P. antes del presente
6+
N. E. nuestra era
7+
E. C. era común
8+
D. C. después de Cristo
9+
D. D. J. C. después de Jesucristo
10+
B. C. B C
11+
A. D. a d

nemo_text_processing/inverse_text_normalization/es/data/measures/measurements_plural.tsv

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@ gsm g s m
2323
gsm ge ese eme
2424
psi p s i
2525
psi pe ese i
26-
° c grados centígrados
27-
° f grados farenheit
28-
° k grados kelvin
26+
° C grados centígrados
27+
° F grados farenheit
28+
° K grados kelvin
29+
mb megabits
30+
MB megabytes
31+
gb gigabits
32+
GB gigabytes
33+
TB terabytes
34+
PB petabytes

nemo_text_processing/inverse_text_normalization/es/data/measures/measurements_singular.tsv

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,19 @@ min minuto
1717
% por ciento
1818
% porciento
1919
s segundo
20-
° c grado centígrado
21-
° f grado farenheit
22-
° k grado kelvin
20+
° C grado centígrado
21+
° F grado farenheit
22+
° K grado kelvin
2323
mph milla por hora
2424
kph kilómetro por hora
2525
gsm gramo por metro cuadrado
2626
gsm g s m
2727
gsm ge ese eme
2828
psi p s i
2929
psi pe ese i
30+
mb megabit
31+
MB megabyte
32+
gb gigabit
33+
GB gigabyte
34+
TB terabyte
35+
PB petabyte

nemo_text_processing/inverse_text_normalization/es/data/money/currency_major_plural.tsv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
euros
22
US$ dólares estadounidenses
33
US$ dólares americanos
4+
CAD$ dólares canadienses
45
$ dólares
56
$ pesos
67
¥ yenes
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
US$ Dólares Estadounidenses
2+
US$ dólares Estadounidenses
3+
US$ Dólares estadounidenses
4+
US$ Dólares Americanos
5+
US$ dólares Americanos
6+
US$ Dólares americanos
7+
CAD$ dólares Canadienses
8+
CAD$ Dólares canadienses
9+
CAD$ Dólares Canadienses
10+
AR$ Pesos Argentinos
11+
AR$ pesos Argentinos
12+
AR$ Pesos argentinos
13+
BRL Reales Brasileños
14+
BRL reales Brasileños
15+
BRL Reales brasileños
16+
CHF Francos Suizos
17+
CHF francos Suizos
18+
CHF Francos suizos
19+
CLP Pesos Chilenos
20+
CLP pesos Chilenos
21+
CLP Pesos chilenos
22+
CNY Yuan Chinos
23+
CNY yuan Chinos
24+
CNY Yuan chinos
25+
COP Pesos Colombianos
26+
COP pesos Colombianos
27+
COP Pesos colombianos
28+
CRC Colones Costarricenses
29+
CRC colones Costarricenses
30+
CRC Colones costarricenses
31+
CUP Pesos Cubanos
32+
CUP pesos Cubanos
33+
CUP Pesos cubanos
34+
RD$ Pesos Dominicanos
35+
RD$ pesos Dominicanos
36+
RD$ Pesos dominicanos
37+
GBP Libras Esterlinas
38+
GBP libras Esterlinas
39+
GBP Libras esterlinas
40+
HKD Dólares De Hong Kong
41+
HKD dólares de Hong Kong
42+
HKD Dólares de hong kong
43+
INR Rupias Indias
44+
INR rupias Indias
45+
INR Rupias indias
46+
Mex$ Pesos Mexicanos
47+
Mex$ pesos Mexicanos
48+
Mex$ Pesos mexicanos
49+
SVC Colones Salvadoreños
50+
SVC colones Salvadoreños
51+
SVC Colones salvadoreños
52+
UYU Pesos Uruguayos
53+
UYU pesos Uruguayos
54+
UYU Pesos uruguayos
55+
VES Bolívares Soberanos
56+
VES bolívares Soberanos
57+
VES Bolívares soberanos
58+
BOP Pesos Bolivianos
59+
BOP pesos Bolivianos
60+
BOP Pesos bolivianos
61+
CLE Escudos Chilenos
62+
CLE escudos Chilenos
63+
CLE Escudos chilenos
64+
ECS Sucres Ecuatorianos
65+
ECS sucres Ecuatorianos
66+
ECS Sucres ecuatorianos
67+
PEH Soles De Oro
68+
PEH soles de Oro
69+
PEH Soles de oro
70+
VEB Bolívares Venezolanos
71+
VEB bolívares Venezolanos
72+
VEB Bolívares venezolanos
73+
VEF Bolívares Fuertes
74+
VEF bolívares Fuertes
75+
VEF Bolívares fuertes

nemo_text_processing/inverse_text_normalization/es/data/money/currency_major_singular.tsv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
euro
22
US$ dólar estadounidense
33
US$ dólar americano
4+
CAD$ dólar canadiense
45
$ dólar
56
$ peso
67
¥ yen
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
US$ dólar Estadounidense
2+
US$ Dólar Estadounidense
3+
US$ Dólar estadounidense
4+
US$ dólar Estadounidense
5+
US$ dólar Americano
6+
US$ Dólar Americano
7+
US$ Dólar americano
8+
CAD$ dólar Canadiense
9+
CAD$ Dólar canadiense
10+
CAD$ Dólar Canadiense
11+
AR$ peso Argentino
12+
AR$ Peso Argentino
13+
AR$ Peso argentino
14+
BRL real Brasileño
15+
BRL Real Brasileño
16+
BRL Real brasileño
17+
CHF franco Suizo
18+
CHF Franco Suizo
19+
CHF Franco suizo
20+
CLP Peso Chileno
21+
CLP peso Chileno
22+
CLP Peso chileno
23+
CNY Yuan Chino
24+
CNY yuan Chino
25+
CNY Yuan chino
26+
COP Peso Colombiano
27+
COP peso Colombiano
28+
COP Peso colombiano
29+
CRC Colón Costarricense
30+
CRC colón Costarricense
31+
CRC Colón costarricense
32+
CUP Peso Cubano
33+
CUP peso Cubano
34+
CUP Peso cubano
35+
RD$ Peso Dominicano
36+
RD$ peso Dominicano
37+
RD$ Peso dominicano
38+
GBP Libra Esterlina
39+
GBP libra Esterlina
40+
GBP Libra esterlina
41+
HKD Dólar De Hong Kong
42+
HKD dólar de Hong Kong
43+
HKD Dólar de hong kong
44+
INR Rupia India
45+
INR rupia India
46+
INR Rupia india
47+
Mex$ Peso Mexicano
48+
Mex$ peso Mexicano
49+
Mex$ Peso mexicano
50+
SVC Colón Salvadoreño
51+
SVC colón Salvadoreño
52+
SVC Colón salvadoreño
53+
UYU Peso Uruguayo
54+
UYU peso Uruguayo
55+
UYU Peso uruguayo
56+
VES Bolívar Soberano
57+
VES bolívar Soberano
58+
VES Bolívar soberano
59+
BOP Peso Boliviano
60+
BOP peso Boliviano
61+
BOP Peso boliviano
62+
CLE Escudo Chileno
63+
CLE escudo Chileno
64+
CLE Escudo chileno
65+
ECS Sucre Ecuatoriano
66+
ECS sucre Ecuatoriano
67+
ECS Sucre ecuatoriano
68+
PEH Sol De Oro
69+
PEH sol de Oro
70+
PEH Sol de oro
71+
VEB Bolívar Venezolano
72+
VEB bolívar Venezolano
73+
VEB Bolívar venezolano
74+
VEF Bolívar Fuerte
75+
VEF bolívar Fuerte
76+
VEF Bolívar fuerte
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
Primero uno
2+
Primera uno
3+
Primer uno
4+
Segundo dos
5+
Segunda dos
6+
Tercero tres
7+
Tercera tres
8+
Tercer tres
9+
Cuarto cuatro
10+
Cuarta cuatro
11+
Quinto cinco
12+
Quinta cinco
13+
Sexto seis
14+
Sexta seis
15+
Séptimo siete
16+
Séptima siete
17+
Sétimo siete
18+
Sétima siete
19+
Octavo ocho
20+
Octava ocho
21+
Noveno nueve
22+
Novena nueve

0 commit comments

Comments
 (0)