forked from GitHub/gf-core
resource lib name changed
This commit is contained in:
47
lib/resource/swedish/IdiomSwe.gf
Normal file
47
lib/resource/swedish/IdiomSwe.gf
Normal file
@@ -0,0 +1,47 @@
|
||||
concrete IdiomSwe of Idiom = CatSwe **
|
||||
open MorphoSwe, ParadigmsSwe, IrregSwe, Prelude in {
|
||||
|
||||
flags optimize=all_subs ;
|
||||
|
||||
oper
|
||||
utr = ParadigmsSwe.utrum ;
|
||||
neutr = ParadigmsSwe.neutrum ;
|
||||
|
||||
lin
|
||||
ImpersCl vp = mkClause "det" (agrP3 neutr Sg) vp ;
|
||||
GenericCl vp = mkClause "man" (agrP3 utr Sg) vp ;
|
||||
|
||||
CleftNP np rs = mkClause "det" (agrP3 neutr Sg)
|
||||
(insertObj (\\_ => rs.s ! np.a)
|
||||
(insertObj (\\_ => np.s ! rs.c) (predV verbBe))) ;
|
||||
|
||||
CleftAdv ad s = mkClause "det" (agrP3 neutr Sg)
|
||||
(insertObj (\\_ => "som" ++ s.s ! Sub)
|
||||
(insertObj (\\_ => ad.s) (predV verbBe))) ;
|
||||
|
||||
|
||||
ExistNP np =
|
||||
mkClause "det" (agrP3 neutr Sg) (insertObj
|
||||
(\\_ => np.s ! accusative) (predV (depV finna_V))) ;
|
||||
|
||||
ExistIP ip = {
|
||||
s = \\t,a,p =>
|
||||
let
|
||||
cls =
|
||||
(mkClause "det" (agrP3 neutr Sg) (predV (depV finna_V))).s ! t ! a ! p ;
|
||||
who = ip.s ! accusative
|
||||
in table {
|
||||
QDir => who ++ cls ! Inv ;
|
||||
QIndir => who ++ cls ! Sub
|
||||
}
|
||||
} ;
|
||||
|
||||
|
||||
ProgrVP vp =
|
||||
insertObj (\\a => "att" ++ infVP vp a) (predV (partV hålla_V "på")) ;
|
||||
|
||||
ImpPl1 vp = {s = ["låt oss"] ++ infVP vp {gn = Plg ; p = P1}} ;
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user