diff options
| author | aarne <aarne@cs.chalmers.se> | 2008-10-30 20:38:51 +0000 |
|---|---|---|
| committer | aarne <aarne@cs.chalmers.se> | 2008-10-30 20:38:51 +0000 |
| commit | b49a021608d1e15a17ffd54195aa812dbed2948f (patch) | |
| tree | ada8fb5fad6f41d3df7b9e1fd8fe74089ed90407 /next-lib/src/italian/IdiomIta.gf | |
| parent | 12338243c5198288ba42276b4d76a783c263e7c1 (diff) | |
refactored romance VP. Now it is possible to parse with Spanish and Catalan; for the rest, some Slash rules still pose a problem. Some clitic and agreement things unfinished. All this in next-lib only; resource 1.4 untouched
Diffstat (limited to 'next-lib/src/italian/IdiomIta.gf')
| -rw-r--r-- | next-lib/src/italian/IdiomIta.gf | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/next-lib/src/italian/IdiomIta.gf b/next-lib/src/italian/IdiomIta.gf index 2f1bb118d..bac30d741 100644 --- a/next-lib/src/italian/IdiomIta.gf +++ b/next-lib/src/italian/IdiomIta.gf @@ -11,7 +11,7 @@ concrete IdiomIta of Idiom = CatIta ** CleftNP np rs = mkClause [] True (agrP3 Masc Sg) (insertComplement (\\_ => rs.s ! Indic ! np.a) - (insertComplement (\\_ => np.s ! Ton rs.c) (predV copula))) ; + (insertComplement (\\_ => (np.s ! rs.c).ton) (predV copula))) ; CleftAdv ad s = mkClause [] True (agrP3 Masc Sg) (insertComplement (\\_ => conjThat ++ s.s ! Indic) @@ -19,15 +19,15 @@ concrete IdiomIta of Idiom = CatIta ** ExistNP np = mkClause [] True (agrP3 np.a.g np.a.n) - (insertClit2 (elision "ci" "c'" "ci") - (insertComplement (\\_ => np.s ! Ton Nom) + (insertClit3 (elision "ci" "c'" "ci") + (insertComplement (\\_ => (np.s ! Nom).ton) (predV copula))) ; ExistIP ip = { s = \\t,a,p,_ => ip.s ! Nom ++ (mkClause [] True (agrP3 ip.a.g ip.a.n) - (insertClit2 (elision "ci" "c'" "ci") + (insertClit3 (elision "ci" "c'" "ci") (predV copula))).s ! DDir ! t ! a ! p ! Indic } ; @@ -36,7 +36,7 @@ concrete IdiomIta of Idiom = CatIta ** insertComplement (\\agr => let - clpr = pronArg agr.n agr.p vp.clAcc vp.clDat ; + clpr = <[],[],False> ; ----e pronArg agr.n agr.p vp.clAcc vp.clDat ; obj = clpr.p2 ++ vp.comp ! agr ++ vp.ext ! Pos ---- pol in (vp.s ! VPGerund).inf ! (aagr agr.g agr.n) ++ clpr.p1 ++ obj |
