mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-05-28 01:18:57 -06:00
Finnish negative NPs: retaining 'ei' in UttNP and ExistNPAdv
This commit is contained in:
@@ -75,7 +75,7 @@ concrete IdiomFin of Idiom = CatFin **
|
|||||||
} ;
|
} ;
|
||||||
|
|
||||||
ExistNPAdv np adv =
|
ExistNPAdv np adv =
|
||||||
mkClause (\_ -> adv.s) np.a (insertObj
|
mkClausePol np.isNeg (\_ -> adv.s) np.a (insertObj
|
||||||
(\\_,b,_ => np.s ! NPSep) (predV vpVerbOlla)) ;
|
(\\_,b,_ => np.s ! NPSep) (predV vpVerbOlla)) ;
|
||||||
|
|
||||||
ExistIPAdv ip adv =
|
ExistIPAdv ip adv =
|
||||||
|
|||||||
@@ -11,8 +11,8 @@ concrete PhraseFin of Phrase = CatFin ** open ResFin, StemFin, (P = Prelude) in
|
|||||||
|
|
||||||
UttIP ip = {s = ip.s ! NPCase Nom} ;
|
UttIP ip = {s = ip.s ! NPCase Nom} ;
|
||||||
UttIAdv iadv = iadv ;
|
UttIAdv iadv = iadv ;
|
||||||
UttNP np = {s = np.s ! NPSep} ;
|
UttNP np = {s = addNegation np.isNeg ++ np.s ! NPSep} ;
|
||||||
UttVP vp = {s = infVP SCNom Pos (agrP3 Sg) vp Inf1} ;
|
UttVP vp = {s = addNegation vp.vptyp.isNeg ++ infVP SCNom Pos (agrP3 Sg) vp Inf1} ;
|
||||||
UttAdv adv = adv ;
|
UttAdv adv = adv ;
|
||||||
UttCN np = {s = np.s ! NCase Sg Nom} ;
|
UttCN np = {s = np.s ! NCase Sg Nom} ;
|
||||||
UttAP np = {s = np.s ! P.False ! NCase Sg Nom} ;
|
UttAP np = {s = np.s ! P.False ! NCase Sg Nom} ;
|
||||||
@@ -25,4 +25,6 @@ concrete PhraseFin of Phrase = CatFin ** open ResFin, StemFin, (P = Prelude) in
|
|||||||
NoVoc = {s = []} ;
|
NoVoc = {s = []} ;
|
||||||
VocNP np = {s = "," ++ np.s ! NPSep} ;
|
VocNP np = {s = "," ++ np.s ! NPSep} ;
|
||||||
|
|
||||||
|
oper
|
||||||
|
addNegation : P.Bool -> Str = \isNeg -> case isNeg of {P.True => "ei" ; _ => []} ;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user