From ba1575d8d791b9736487565d380deb93c8eff68d Mon Sep 17 00:00:00 2001 From: odanoburu Date: Tue, 5 Mar 2019 18:34:41 -0300 Subject: [PATCH] (Por) small fixes --- src/portuguese/LangPor.labels | 8 ++++++-- src/portuguese/LexiconPor.gf | 2 +- src/portuguese/StructuralPor.gf | 4 ++-- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/portuguese/LangPor.labels b/src/portuguese/LangPor.labels index b6ebdc64..41244681 100644 --- a/src/portuguese/LangPor.labels +++ b/src/portuguese/LangPor.labels @@ -2,8 +2,9 @@ CompCN {"um"} DET det head ComplVS {"que"} SCONJ mark head EmbedS {"que"} PRON nsubj head EmbedVP {"de"} ADP mark head +ExistNPAdv {"existe", "há"} AUX aux head ExtAdvS,SubjS,VocNP {","} PUNCT punct head -PassV2 {"era","sido"} AUX aux:pass head +PassV2 {"era","sido","foi"} AUX aux:pass head PredVP {"há"} AUX aux head PredVP {"se"} PRON expl head ProgrVP {"estavam"} AUX aux head @@ -11,5 +12,8 @@ SelfAdVVP {"ela"} PRON obl head SelfAdVVP {"própria"} DET det head SlashV2a,UseComp,UseV {"não"} ADV advmod head SlashV2V {"a"} ADP mark head -UseComp,ProgrVP,QuestIComp {"é","sou","são","está","estão","estava"} VERB cop head +UseComp,ProgrVP,QuestIComp {"é","sou","são","está","estão","estava","estou"} VERB cop head UsePN {"de","por"} ADP case head + +-- morphological feature labels +-- missing \ No newline at end of file diff --git a/src/portuguese/LexiconPor.gf b/src/portuguese/LexiconPor.gf index c7d5cfb1..591a4e37 100644 --- a/src/portuguese/LexiconPor.gf +++ b/src/portuguese/LexiconPor.gf @@ -322,7 +322,7 @@ lin know_VQ = mkVQ know_V ; wonder_VQ = mkVQ (reflV (mkV "perguntar")) ; fear_VS = subjVS (mkV "temer") ; - hope_VS = mkVS (mkV "esperar") ; + hope_VS = subjVS (mkV "esperar") ; know_VS = mkVS know_V ; say_VS = mkVS (mkV (dizer_Besch "dizer")) ; -- V diff --git a/src/portuguese/StructuralPor.gf b/src/portuguese/StructuralPor.gf index 7f3f772e..953bfe7a 100644 --- a/src/portuguese/StructuralPor.gf +++ b/src/portuguese/StructuralPor.gf @@ -67,7 +67,7 @@ concrete StructuralPor of Structural = CatPor ** during_Prep = mkPrep "durante" ; either7or_DConj = {s1,s2 = "ou" ; n = Sg} ; everybody_NP = makeNP "todos" Masc Pl ; - every_Det = mkDeterminer "cada" "cada" Sg False ; + every_Det = mkDeterminer "todo" "toda" Sg False ; everything_NP = pn2np (mkPN "tudo" Masc) ; everywhere_Adv = ss ["em toda parte"] ; except_Prep = mkPrep "exceto" ; @@ -105,7 +105,7 @@ concrete StructuralPor of Structural = CatPor ** s2 = [] ; isNeg = True } ; no_Utt = ss "não" ; - not_Predet = {s = \\a,c => prepCase c ++ "não" ; c = Nom ; a = PNoAg} ; + not_Predet = {s = \\a,c => prepCase c ++ "nem" ; c = Nom ; a = PNoAg} ; nobody_NP = pn2npNeg (mkPN "ninguém") ; nothing_NP = pn2npNeg (mkPN "nada") ;