mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-20 16:42:51 -06:00
37 lines
1020 B
Plaintext
37 lines
1020 B
Plaintext
concrete IdiomHun of Idiom = CatHun ** open Prelude, ResHun in
|
|
{
|
|
--{
|
|
--
|
|
-- flags optimize=all_subs ;
|
|
--
|
|
-- lin
|
|
-- ImpersCl vp = mkClause "it" (agrP3 Sg) vp ;
|
|
-- GenericCl vp = mkClause "one" (agrP3 Sg) vp ;
|
|
--
|
|
-- CleftNP np rs = mkClause "it" (agrP3 Sg)
|
|
-- (insertObj (\\_ => rs.s ! np.a)
|
|
-- (insertObj (\\_ => np.s ! rs.c) (predAux auxBe))) ;
|
|
--
|
|
-- CleftAdv ad s = mkClause "it" (agrP3 Sg)
|
|
-- (insertObj (\\_ => conjThat ++ s.s)
|
|
-- (insertObj (\\_ => ad.s) (predAux auxBe))) ;
|
|
--
|
|
-- ExistNP np =
|
|
-- mkClause "there" (agrP3 (fromAgr np.a).n)
|
|
-- (insertObj (\\_ => np.s ! NPAcc) (predAux auxBe)) ;
|
|
--
|
|
-- ExistIP ip =
|
|
-- mkQuestion (ss (ip.s ! npNom))
|
|
-- (mkClause "there" (agrP3 ip.n) (predAux auxBe)) ;
|
|
--
|
|
-- ProgrVP vp = insertObj (\\a => vp.ad ++ vp.prp ++ vp.s2 ! a) (predAux auxBe) ;
|
|
--
|
|
-- ImpPl1 vp = {s = "let's" ++ infVP VVAux vp (AgP1 Pl)} ;
|
|
--
|
|
-- ImpP3 np vp = {s = "let" ++ np.s ! NPAcc ++ infVP VVAux vp np.a} ;
|
|
--
|
|
--}
|
|
--
|
|
|
|
}
|