mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-26 21:12:50 -06:00
gerund and participle translations for Fre,Ita,Spa and Ger. Some a bit questionable.
This commit is contained in:
@@ -59,29 +59,43 @@ lin
|
||||
} ;
|
||||
|
||||
|
||||
{-
|
||||
GerundN v = {
|
||||
s = \\n,c => v.s ! VPresPart ;
|
||||
g = Neutr
|
||||
} ;
|
||||
|
||||
GerundAP v = {
|
||||
s = \\agr => v.s ! VPresPart ;
|
||||
isPre = True
|
||||
} ;
|
||||
-- }
|
||||
GerundNP vp =
|
||||
let a = agrP3 Masc Sg ---- agr
|
||||
in
|
||||
heavyNP {s = \\c => prepCase c ++ infVP vp a ; a = a} ; -- parlare tedesco non è facile
|
||||
|
||||
PastPartAP v = {
|
||||
GerundAdv vp =
|
||||
let a = agrP3 Masc Sg
|
||||
in
|
||||
{s = gerVP vp a} | {s = "en" ++ gerVP vp a} ;
|
||||
|
||||
WithoutVP vp = SyntaxFre.mkAdv without_Prep (lin NP (GerundNP (lin VP vp))) ; -- senza dormire
|
||||
|
||||
InOrderToVP vp = SyntaxFre.mkAdv for_Prep (lin NP (GerundNP (lin VP vp))) ; -- per dormire
|
||||
|
||||
ByVP vp = GerundAdv (lin VP vp) ;
|
||||
|
||||
PresPartAP vp = {
|
||||
s = table {
|
||||
AF g n => v.s ! VPart g n ;
|
||||
_ => v.s ! VPart Masc Sg ---- the adverb form
|
||||
AF g n => nominalVP VPresPart True vp (agrP3 g n) ;
|
||||
_ => nominalVP VPresPart True vp (agrP3 Masc Sg) ---- the adverb form
|
||||
} ;
|
||||
isPre = True
|
||||
} ;
|
||||
isPre = False
|
||||
} ;
|
||||
|
||||
--{-
|
||||
OrdCompar a = {s = \\c => a.s ! AAdj Compar c } ;
|
||||
-}
|
||||
PastPartAP vp = {
|
||||
s = table {
|
||||
AF g n => nominalVP (VPart g n) True vp (agrP3 g n) ;
|
||||
_ => nominalVP (VPart Masc Sg) True vp (agrP3 Masc Sg) ---- the adverb form
|
||||
} ;
|
||||
isPre = False
|
||||
} ;
|
||||
|
||||
PastPartAgentAP vp np =
|
||||
let part = PastPartAP (lin VP vp)
|
||||
in part ** {
|
||||
s = \\a => part.s ! a ++ (SyntaxFre.mkAdv (mkPrep "par") (lin NP np)).s
|
||||
} ;
|
||||
|
||||
PositAdVAdj a = {s = a.s ! Posit ! AA} ;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user