mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-05-31 02:38:55 -06:00
Corrections in LexiconSpa
Corrected many verbs in LexiconSpa. Also added in BeschSpa oir_51 and corrected morder_50b. In MorphoSpa added words ending in é and á to a regexp for regular nouns.
This commit is contained in:
@@ -3840,7 +3840,7 @@ oper mover_50 : Str -> Verbum = \mover ->
|
|||||||
}
|
}
|
||||||
} ;
|
} ;
|
||||||
oper morder_50b : Str -> Verbum = \morder ->
|
oper morder_50b : Str -> Verbum = \morder ->
|
||||||
let m_ = Predef.tk 4 morder in
|
let m_ = Predef.tk 5 morder in
|
||||||
{s = table {
|
{s = table {
|
||||||
VI Infn => m_ + "order" ;
|
VI Infn => m_ + "order" ;
|
||||||
VI Ger => m_ + "ordiendo" ;
|
VI Ger => m_ + "ordiendo" ;
|
||||||
@@ -3911,6 +3911,80 @@ oper morder_50b : Str -> Verbum = \morder ->
|
|||||||
VPB (Pass Pl Fem) => m_ + "ordidas"
|
VPB (Pass Pl Fem) => m_ + "ordidas"
|
||||||
}
|
}
|
||||||
} ;
|
} ;
|
||||||
|
|
||||||
|
oper oir_51 : Str -> Verbum = \oir ->
|
||||||
|
let o_ = Predef.tk 2 oir in
|
||||||
|
{s = table {
|
||||||
|
VI Infn => o_ + "ír" ;
|
||||||
|
VI Ger => o_ + "yendo" ;
|
||||||
|
VI Part => o_ + "ído" ;
|
||||||
|
VPB (Pres Ind Sg P1) => o_ + "igo" ;
|
||||||
|
VPB (Pres Ind Sg P2) => o_ + "yes" ;
|
||||||
|
VPB (Pres Ind Sg P3) => o_ + "ye" ;
|
||||||
|
VPB (Pres Ind Pl P1) => o_ + "ímos" ;
|
||||||
|
VPB (Pres Ind Pl P2) => o_ + "ís" ;
|
||||||
|
VPB (Pres Ind Pl P3) => o_ + "yen" ;
|
||||||
|
VPB (Pres Sub Sg P1) => o_ + "iga" ;
|
||||||
|
VPB (Pres Sub Sg P2) => o_ + "igas" ;
|
||||||
|
VPB (Pres Sub Sg P3) => o_ + "iga" ;
|
||||||
|
VPB (Pres Sub Pl P1) => o_ + "igamos" ;
|
||||||
|
VPB (Pres Sub Pl P2) => o_ + "igáis" ;
|
||||||
|
VPB (Pres Sub Pl P3) => o_ + "igan" ;
|
||||||
|
VPB (Impf Ind Sg P1) => o_ + "ía" ; --# notpresent
|
||||||
|
VPB (Impf Ind Sg P2) => o_ + "ías" ; --# notpresent
|
||||||
|
VPB (Impf Ind Sg P3) => o_ + "ía" ; --# notpresent
|
||||||
|
VPB (Impf Ind Pl P1) => o_ + "íamos" ; --# notpresent
|
||||||
|
VPB (Impf Ind Pl P2) => o_ + "íais" ; --# notpresent
|
||||||
|
VPB (Impf Ind Pl P3) => o_ + "ían" ; --# notpresent
|
||||||
|
VPB (Impf Sub Sg P1) => o_ + "yera" ; --# notpresent
|
||||||
|
VPB (Impf Sub Sg P2) => o_ + "yeras" ; --# notpresent
|
||||||
|
VPB (Impf Sub Sg P3) => o_ + "yera" ; --# notpresent
|
||||||
|
VPB (Impf Sub Pl P1) => o_ + "yéramos" ; --# notpresent
|
||||||
|
VPB (Impf Sub Pl P2) => o_ + "yerais" ; --# notpresent
|
||||||
|
VPB (Impf Sub Pl P3) => o_ + "yeran" ; --# notpresent
|
||||||
|
VPB (ImpfSub2 Sg P1) => o_ + "yese" ; --# notpresent
|
||||||
|
VPB (ImpfSub2 Sg P2) => o_ + "yeses" ; --# notpresent
|
||||||
|
VPB (ImpfSub2 Sg P3) => o_ + "yese" ; --# notpresent
|
||||||
|
VPB (ImpfSub2 Pl P1) => o_ + "yésemos" ; --# notpresent
|
||||||
|
VPB (ImpfSub2 Pl P2) => o_ + "yeseis" ; --# notpresent
|
||||||
|
VPB (ImpfSub2 Pl P3) => o_ + "yesen" ; --# notpresent
|
||||||
|
VPB (Pret Sg P1) => o_ + "í" ; --# notpresent
|
||||||
|
VPB (Pret Sg P2) => o_ + "iste" ; --# notpresent
|
||||||
|
VPB (Pret Sg P3) => o_ + "yó" ; --# notpresent
|
||||||
|
VPB (Pret Pl P1) => o_ + "ímos" ; --# notpresent
|
||||||
|
VPB (Pret Pl P2) => o_ + "ísteis" ; --# notpresent
|
||||||
|
VPB (Pret Pl P3) => o_ + "yeron" ; --# notpresent
|
||||||
|
VPB (Fut Ind Sg P1) => o_ + "iré" ; --# notpresent
|
||||||
|
VPB (Fut Ind Sg P2) => o_ + "irás" ; --# notpresent
|
||||||
|
VPB (Fut Ind Sg P3) => o_ + "irá" ; --# notpresent
|
||||||
|
VPB (Fut Ind Pl P1) => o_ + "iremos" ; --# notpresent
|
||||||
|
VPB (Fut Ind Pl P2) => o_ + "iréis" ; --# notpresent
|
||||||
|
VPB (Fut Ind Pl P3) => o_ + "irán" ; --# notpresent
|
||||||
|
VPB (Fut Sub Sg P1) => o_ + "yere" ; --# notpresent
|
||||||
|
VPB (Fut Sub Sg P2) => o_ + "yeres" ; --# notpresent
|
||||||
|
VPB (Fut Sub Sg P3) => o_ + "yere" ; --# notpresent
|
||||||
|
VPB (Fut Sub Pl P1) => o_ + "yéremos" ; --# notpresent
|
||||||
|
VPB (Fut Sub Pl P2) => o_ + "yereis" ; --# notpresent
|
||||||
|
VPB (Fut Sub Pl P3) => o_ + "yeren" ; --# notpresent
|
||||||
|
VPB (Cond Sg P1) => o_ + "iría" ; --# notpresent
|
||||||
|
VPB (Cond Sg P2) => o_ + "irías" ; --# notpresent
|
||||||
|
VPB (Cond Sg P3) => o_ + "iría" ; --# notpresent
|
||||||
|
VPB (Cond Pl P1) => o_ + "iríamos" ; --# notpresent
|
||||||
|
VPB (Cond Pl P2) => o_ + "iríais" ; --# notpresent
|
||||||
|
VPB (Cond Pl P3) => o_ + "irían" ; --# notpresent
|
||||||
|
VPB (Imper Sg P1) => variants {} ;
|
||||||
|
VPB (Imper Sg P2) => o_ + "ye" ;
|
||||||
|
VPB (Imper Sg P3) => o_ + "iga" ;
|
||||||
|
VPB (Imper Pl P1) => o_ + "igamos" ;
|
||||||
|
VPB (Imper Pl P2) => o_ + "íd" ;
|
||||||
|
VPB (Imper Pl P3) => o_ + "igan" ;
|
||||||
|
VPB (Pass Sg Masc) => o_ + "ído" ;
|
||||||
|
VPB (Pass Sg Fem) => o_ + "ída" ;
|
||||||
|
VPB (Pass Pl Masc) => o_ + "ídos" ;
|
||||||
|
VPB (Pass Pl Fem) => o_ + "ídas"
|
||||||
|
}
|
||||||
|
} ;
|
||||||
|
|
||||||
oper oler_52 : Str -> Verbum = \oler ->
|
oper oler_52 : Str -> Verbum = \oler ->
|
||||||
let x_ = Predef.tk 4 oler in
|
let x_ = Predef.tk 4 oler in
|
||||||
{s = table {
|
{s = table {
|
||||||
@@ -6365,6 +6439,7 @@ oper llover_89 : Str -> Verbum = \llover ->
|
|||||||
}
|
}
|
||||||
} ;
|
} ;
|
||||||
|
|
||||||
|
|
||||||
-- Verbs: conversion from full verbs to present-tense verbs.
|
-- Verbs: conversion from full verbs to present-tense verbs.
|
||||||
|
|
||||||
verbBesch : {s : VFB => Str} -> {s : CommonRomance.VF => Str} = \amar ->
|
verbBesch : {s : VFB => Str} -> {s : CommonRomance.VF => Str} = \amar ->
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ lin
|
|||||||
beautiful_A = prefA (regADeg "bello") ; -- bella
|
beautiful_A = prefA (regADeg "bello") ; -- bella
|
||||||
become_VA = reflV (regV "convertir") ; --- convertirse en, volverse, ponerse
|
become_VA = reflV (regV "convertir") ; --- convertirse en, volverse, ponerse
|
||||||
beer_N = regN "cerveza" ;
|
beer_N = regN "cerveza" ;
|
||||||
beg_V2V = mkV2V (regV "rogar") accusative dative ; -- pedir
|
beg_V2V = mkV2V (mkV "rogar" "ruego") accusative dative ; -- pedir
|
||||||
big_A = prefA (regADeg "grande") ;
|
big_A = prefA (regADeg "grande") ;
|
||||||
bike_N = regN "bicicleta" ;
|
bike_N = regN "bicicleta" ;
|
||||||
bird_N = regN "pájaro" ;
|
bird_N = regN "pájaro" ;
|
||||||
@@ -50,11 +50,11 @@ lin
|
|||||||
city_N = femN (regN "ciudad") ; -- fem
|
city_N = femN (regN "ciudad") ; -- fem
|
||||||
clean_A = regADeg "limpio" ;
|
clean_A = regADeg "limpio" ;
|
||||||
clever_A = regADeg "inteligente" ;
|
clever_A = regADeg "inteligente" ;
|
||||||
close_V2 = dirV2 (regV "cerrar") ;
|
close_V2 = dirV2 (mkV "cerrar" "cierro") ;
|
||||||
coat_N = regN "abrigo" ;
|
coat_N = regN "abrigo" ;
|
||||||
cold_A = regADeg "frío" ; -- fría
|
cold_A = regADeg "frío" ; -- fría
|
||||||
come_V = verboV (venir_82 "venir") ;
|
come_V = verboV (venir_82 "venir") ;
|
||||||
computer_N = regN "computadora" ; -- also computador, ordenador in Spain
|
computer_N = regN "ordenador" ; -- also computador, ordenador in Spain
|
||||||
country_N = regN "país" ; -- masc
|
country_N = regN "país" ; -- masc
|
||||||
cousin_N = regN "primo" ;
|
cousin_N = regN "primo" ;
|
||||||
cow_N = regN "vaca" ;
|
cow_N = regN "vaca" ;
|
||||||
@@ -88,9 +88,9 @@ lin
|
|||||||
go_V = (verboV (ir_46 "ir")) ;
|
go_V = (verboV (ir_46 "ir")) ;
|
||||||
green_A = regADeg "verde" ;
|
green_A = regADeg "verde" ;
|
||||||
harbour_N = regN "puerto" ;
|
harbour_N = regN "puerto" ;
|
||||||
hate_V2 = dirV2 (regV "odiar") ;
|
hate_V2 = dirV2 (mkV "odiar" "odio") ;
|
||||||
hat_N = regN "sombrero" ;
|
hat_N = regN "sombrero" ;
|
||||||
hear_V2 = mkV2 (regV "escuchar") dative ; -- oír_51
|
hear_V2 = dirV2 (mkV (oir_51 "oír")) ;
|
||||||
hill_N = regN "colina" ;
|
hill_N = regN "colina" ;
|
||||||
hope_VS = mkVS (regV "esperar") ;
|
hope_VS = mkVS (regV "esperar") ;
|
||||||
horse_N = regN "caballo" ;
|
horse_N = regN "caballo" ;
|
||||||
@@ -98,7 +98,7 @@ lin
|
|||||||
house_N = regN "casa" ;
|
house_N = regN "casa" ;
|
||||||
important_A = regADeg "importante" ;
|
important_A = regADeg "importante" ;
|
||||||
industry_N = regN "industria" ;
|
industry_N = regN "industria" ;
|
||||||
iron_N = regN "fierro" ;
|
iron_N = regN "hierro" ;
|
||||||
king_N = regN "rey" ;
|
king_N = regN "rey" ;
|
||||||
know_V2 = mkV2 (verboV (conocer_25 "conocer")) ;
|
know_V2 = mkV2 (verboV (conocer_25 "conocer")) ;
|
||||||
know_VQ = mkVQ (verboV (saber_71 "saber")) ;
|
know_VQ = mkVQ (verboV (saber_71 "saber")) ;
|
||||||
@@ -120,36 +120,38 @@ lin
|
|||||||
meat_N = femN (regN "carne") ;
|
meat_N = femN (regN "carne") ;
|
||||||
milk_N = femN (regN "leche") ;
|
milk_N = femN (regN "leche") ;
|
||||||
moon_N = regN "luna" ;
|
moon_N = regN "luna" ;
|
||||||
mother_N2 = deN2 (femN (regN "madre")) ; -- fem
|
mother_N2 = deN2 (mkN "madre" feminine) ;
|
||||||
mountain_N = regN "montaña" ;
|
mountain_N = mkN "montaña" ;
|
||||||
music_N = regN "música" ;
|
music_N = mkN "música" ;
|
||||||
narrow_A = regADeg "estrecho" ;
|
narrow_A = regADeg "estrecho" ;
|
||||||
new_A = prefA (regADeg "nuevo") ;
|
new_A = prefA (regADeg "nuevo") ;
|
||||||
newspaper_N = regN "periódico" ; -- diario
|
newspaper_N = mkN "periódico" ; -- diario
|
||||||
oil_N = regN "aceite" ;
|
oil_N = mkN "aceite" ;
|
||||||
old_A = prefA (regADeg "viejo") ;
|
old_A = prefA (regADeg "viejo") ;
|
||||||
open_V2 = dirV2 (special_ppV (regV "abrir") "abierto") ;
|
open_V2 = dirV2 (special_ppV (regV "abrir") "abierto") ;
|
||||||
paint_V2A = mkV2A (regV "pintar") accusative (mkPrep "en") ;
|
paint_V2A = mkV2A (regV "pintar") accusative (mkPrep "en") ;
|
||||||
paper_N = regN "papel" ;
|
paper_N = mkN "papel" ;
|
||||||
paris_PN = mkPN "París" masculine ;
|
paris_PN = mkPN "París" masculine ;
|
||||||
peace_N = femN (regN "paz") ;
|
peace_N = mkN "paz" feminine ;
|
||||||
pen_N = regN "lapicera" ;
|
pen_N = mkN "lapicera" ;
|
||||||
planet_N = mascN (regN "planeta") ;
|
planet_N = mkN "planeta" masculine ;
|
||||||
plastic_N = regN "plástico" ;
|
plastic_N = mkN "plástico" ;
|
||||||
play_V2 = dirV2 (verboV (jugar_47 "jugar")) ;
|
play_V2 = dirV2 (verboV (jugar_47 "jugar")) ;
|
||||||
policeman_N = mascN (regN "policía") ; -- fem refers to the institution
|
policeman_N = mkN "policía" masculine ; -- fem refers to the institution
|
||||||
priest_N = mascN (regN "cura") ; -- masc
|
priest_N = mkN "cura" masculine ; -- masc
|
||||||
probable_AS = mkAS (regA "probable") ;
|
probable_AS = mkAS (regA "probable") ;
|
||||||
queen_N = regN "reina" ;
|
queen_N = mkN "reina" ;
|
||||||
radio_N = femN (regN "radio") ;
|
question_N = mkN "pregunta" ;
|
||||||
|
radio_N = mkN "radio" feminine ;
|
||||||
rain_V0 = mkV0 (verboV (llover_89 "llover")) ;
|
rain_V0 = mkV0 (verboV (llover_89 "llover")) ;
|
||||||
read_V2 = dirV2 (verboV (creer_26 "leer")) ;
|
read_V2 = dirV2 (verboV (creer_26 "leer")) ;
|
||||||
|
reason_N = mkN "razón" feminine ;
|
||||||
red_A = regADeg "rojo" ;
|
red_A = regADeg "rojo" ;
|
||||||
religion_N = mkN "religión" "religiones" feminine ;
|
religion_N = mkN "religión" "religiones" feminine ;
|
||||||
restaurant_N = regN "restaurante" ; -- restorán, restaurán, masc
|
restaurant_N = mkN "restaurante" ; -- restorán, restaurán, masc
|
||||||
river_N = regN "río" ;
|
river_N = mkN "río" ;
|
||||||
rock_N = regN "roca" ;
|
rock_N = mkN "roca" ;
|
||||||
roof_N = regN "techo" ;
|
roof_N = mkN "techo" ;
|
||||||
rubber_N = regN "goma" ;
|
rubber_N = regN "goma" ;
|
||||||
run_V = regV "correr" ;
|
run_V = regV "correr" ;
|
||||||
say_VS = mkVS (verboV (decir_28 "decir")) ;
|
say_VS = mkVS (verboV (decir_28 "decir")) ;
|
||||||
@@ -186,7 +188,7 @@ lin
|
|||||||
talk_V3 = mkV3 (regV "hablar") dative genitive ;
|
talk_V3 = mkV3 (regV "hablar") dative genitive ;
|
||||||
teacher_N = regN "maestro" ; -- maestra
|
teacher_N = regN "maestro" ; -- maestra
|
||||||
teach_V2 = dirV2 (regV "enseñar") ;
|
teach_V2 = dirV2 (regV "enseñar") ;
|
||||||
television_N = mkN "televisión" "televisiones" feminine ; -- televisor masc
|
television_N = mkN "televisión" feminine ; -- televisor masc
|
||||||
thick_A = regADeg "grueso" ;
|
thick_A = regADeg "grueso" ;
|
||||||
thin_A = regADeg "fino" ; -- delgado
|
thin_A = regADeg "fino" ; -- delgado
|
||||||
train_N = regN "tren" ;
|
train_N = regN "tren" ;
|
||||||
@@ -194,25 +196,25 @@ lin
|
|||||||
tree_N = regN "árbol" ;
|
tree_N = regN "árbol" ;
|
||||||
--- trousers_N = regN "pantalón" ; -- masc
|
--- trousers_N = regN "pantalón" ; -- masc
|
||||||
ugly_A = regADeg "feo" ;
|
ugly_A = regADeg "feo" ;
|
||||||
understand_V2 = dirV2 (regV "entender") ;
|
understand_V2 = dirV2 (mkV "entender" "entiendo") ;
|
||||||
university_N = femN (regN "universidad") ;
|
university_N = femN (regN "universidad") ;
|
||||||
village_N = regN "pueblo" ;
|
village_N = regN "pueblo" ;
|
||||||
wait_V2 = mkV2 (regV "esperar") dative ;
|
wait_V2 = mkV2 (regV "esperar") dative ;
|
||||||
walk_V = regV "caminar" ;
|
walk_V = mkV "caminar" ;
|
||||||
warm_A = regADeg "tibio" ;
|
warm_A = regADeg "caliente" ;
|
||||||
war_N = regN "guerra" ;
|
war_N = mkN "guerra" ;
|
||||||
watch_V2 = dirV2 (regV "mirar") ; -- ver
|
watch_V2 = dirV2 (regV "mirar") ; -- ver
|
||||||
water_N = mascN (regN "agua") ;
|
water_N = mkN "agua" ; ---- feminine, but uses masculine article "el". TODO defArt pre {} thingy for the nouns (limited set) that behave like this.
|
||||||
white_A = compADeg (regA "blanco") ;
|
white_A = compADeg (regA "blanco") ;
|
||||||
window_N = regN "ventana" ;
|
window_N = regN "ventana" ;
|
||||||
wine_N = regN "vino" ;
|
wine_N = regN "vino" ;
|
||||||
win_V2 = dirV2 (regV "ganar") ;
|
win_V2 = dirV2 (regV "ganar") ;
|
||||||
woman_N = femN (regN "mujer") ;
|
woman_N = mkN "mujer" feminine ;
|
||||||
wonder_VQ = mkVQ (reflV (regV "preguntar")) ;
|
wonder_VQ = mkVQ (reflV (regV "preguntar")) ;
|
||||||
wood_N = regN "madera" ;
|
wood_N = regN "madera" ;
|
||||||
write_V2 = dirV2 (special_ppV (regV "escribir") "escrito") ;
|
write_V2 = dirV2 (special_ppV (regV "escribir") "escrito") ;
|
||||||
yellow_A = regADeg "amarillo" ;
|
yellow_A = regADeg "amarillo" ;
|
||||||
young_A = prefA (regADeg "joven") ;
|
young_A = prefA (mkA "joven" "joven" "jóvenes" "jóvenes" "jovenamente") ;
|
||||||
|
|
||||||
do_V2 = dirV2 (verboV (hacer_44 "hacer")) ;
|
do_V2 = dirV2 (verboV (hacer_44 "hacer")) ;
|
||||||
now_Adv = mkAdv "ahora" ;
|
now_Adv = mkAdv "ahora" ;
|
||||||
@@ -330,7 +332,7 @@ lin
|
|||||||
scratch_V2 = dirV2 (regV "rascar") ;
|
scratch_V2 = dirV2 (regV "rascar") ;
|
||||||
sew_V = regV "coser" ;
|
sew_V = regV "coser" ;
|
||||||
sing_V = regV "cantar" ;
|
sing_V = regV "cantar" ;
|
||||||
sit_V = reflV (regV "sentar") ;
|
sit_V = reflV (mkV "sentar" "siento") ;
|
||||||
smell_V = verboV (oler_52 "oler") ;
|
smell_V = verboV (oler_52 "oler") ;
|
||||||
spit_V = regV "escupir" ;
|
spit_V = regV "escupir" ;
|
||||||
split_V2 = dirV2 (regV "separar") ; -- dividir,) ;
|
split_V2 = dirV2 (regV "separar") ; -- dividir,) ;
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ oper
|
|||||||
|
|
||||||
mkNomReg : Str -> Noun = \mec ->
|
mkNomReg : Str -> Noun = \mec ->
|
||||||
case mec of {
|
case mec of {
|
||||||
_ + ("o" | "e") => mkNoun (nomVino mec) Masc ;
|
_ + ("o" | "e" | "é" | "á") => mkNoun (nomVino mec) Masc ; --bebé, papá; how about other accented vocal endings? champú champúes
|
||||||
_ + "a" => mkNoun (nomVino mec) Fem ;
|
_ + "a" => mkNoun (nomVino mec) Fem ;
|
||||||
_ + "z" => mkNounIrreg mec (init mec + "ces") Fem ;
|
_ + "z" => mkNounIrreg mec (init mec + "ces") Fem ;
|
||||||
_ + "án" => mkNounIrreg mec (tk 2 mec + "anes") Masc ;
|
_ + "án" => mkNounIrreg mec (tk 2 mec + "anes") Masc ;
|
||||||
|
|||||||
Reference in New Issue
Block a user