summaryrefslogtreecommitdiff
path: root/next-lib/src/spanish/DiffSpa.gf
diff options
context:
space:
mode:
authoraarne <aarne@cs.chalmers.se>2008-10-30 20:38:51 +0000
committeraarne <aarne@cs.chalmers.se>2008-10-30 20:38:51 +0000
commitb49a021608d1e15a17ffd54195aa812dbed2948f (patch)
treeada8fb5fad6f41d3df7b9e1fd8fe74089ed90407 /next-lib/src/spanish/DiffSpa.gf
parent12338243c5198288ba42276b4d76a783c263e7c1 (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/spanish/DiffSpa.gf')
-rw-r--r--next-lib/src/spanish/DiffSpa.gf11
1 files changed, 6 insertions, 5 deletions
diff --git a/next-lib/src/spanish/DiffSpa.gf b/next-lib/src/spanish/DiffSpa.gf
index 668aa79c0..b1ea05af6 100644
--- a/next-lib/src/spanish/DiffSpa.gf
+++ b/next-lib/src/spanish/DiffSpa.gf
@@ -95,12 +95,13 @@ instance DiffSpa of DiffRomance = open CommonRomance, PhonoSpa, BeschSpa, Prelud
let
pe = case b of {True => P3 ; _ => p} ;
agr = aag ** {p = pe} ;
- verb = case <aag.n, pol, pe> of {
- <Sg,Neg,P2> => (vp.s ! VPFinite (VPres Conjunct) Simul).fin ! agr ;
- _ => (vp.s ! VPImperat).fin ! agr
- } ;
+ clpr = <[],[],False> ; ----e pronArg agr.n agr.p vp.clAcc vp.clDat ;
+----e verb = case <aag.n, pol,pe> of {
+----e <Sg,Neg,P2> => (vp.s ! VPInfinit Simul clpr.p3).inf ! aag ;
+----e _ => (vp.s ! VPImperat).fin ! agr
+----e } ;
+ verb = (vp.s ! VPImperat).fin ! agr ; ----e
neg = vp.neg ! pol ;
- clpr = pronArg agr.n agr.p vp.clAcc vp.clDat ;
compl = neg.p2 ++ clpr.p2 ++ vp.comp ! agr ++ vp.ext ! pol
in
neg.p1 ++ verb ++ bindIf clpr.p3 ++ clpr.p1 ++ compl ;