diff options
| author | aarne <aarne@chalmers.se> | 2009-06-22 15:39:08 +0000 |
|---|---|---|
| committer | aarne <aarne@chalmers.se> | 2009-06-22 15:39:08 +0000 |
| commit | e89fdae2fa1626348d8025824a7469252fa85e42 (patch) | |
| tree | c7d46bbd0494043b4bd6f917a25a7687517d0547 /next-lib/src/scandinavian/SentenceScand.gf | |
| parent | 3049b59b35b25381a7c6787444165c200d66e08b (diff) | |
next-lib renamed to lib, lib to old-lib
Diffstat (limited to 'next-lib/src/scandinavian/SentenceScand.gf')
| -rw-r--r-- | next-lib/src/scandinavian/SentenceScand.gf | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/next-lib/src/scandinavian/SentenceScand.gf b/next-lib/src/scandinavian/SentenceScand.gf deleted file mode 100644 index 16bcd0b94..000000000 --- a/next-lib/src/scandinavian/SentenceScand.gf +++ /dev/null @@ -1,64 +0,0 @@ -incomplete concrete SentenceScand of Sentence = - CatScand ** open CommonScand, ResScand, Prelude in { - - flags optimize=all_subs ; - - lin - PredVP np vp = mkClause (np.s ! nominative) np.a vp ; - - PredSCVP sc vp = mkClause sc.s (agrP3 neutrum Sg) vp ; - - ImpVP vp = { - s = \\pol,n => - let - agr = {gn = gennum utrum n ; p = P2} ; - verb = vp.s ! VPImperat ; - in - verb.fin ++ vp.a1 ! pol ++ verb.inf ++ vp.n2 ! agr ++ vp.a2 ++ vp.ext - } ; - - SlashVP np vp = - mkClause - (np.s ! nominative) np.a - vp ** - {n3 = vp.n3 ; c2 = vp.c2} ; - - AdvSlash slash adv = { - s = \\t,a,b,o => slash.s ! t ! a ! b ! o ++ adv.s ; - n3 = slash.n3 ; - c2 = slash.c2 - } ; - - SlashPrep cl prep = cl ** {n3 = \\_ => [] ; c2 = {s = prep.s ; hasPrep = True}} ; - - SlashVS np vs slash = - mkClause - (np.s ! nominative) np.a - (insertObj (\\_ => conjThat ++ slash.s ! Sub) (predV vs)) ** - {n3 = slash.n3 ; c2 = slash.c2} ; - - EmbedS s = {s = conjThat ++ s.s ! Sub} ; - EmbedQS qs = {s = qs.s ! QIndir} ; - EmbedVP vp = {s = infMark ++ infVP vp (agrP3 utrum Sg)} ; --- agr - - UseCl t p cl = { - s = \\o => t.s ++ p.s ++ cl.s ! t.t ! t.a ! p.p ! o - } ; - UseQCl t p cl = { - s = \\q => t.s ++ p.s ++ cl.s ! t.t ! t.a ! p.p ! q - } ; - UseRCl t p cl = { - s = \\r => t.s ++ p.s ++ cl.s ! t.t ! t.a ! p.p ! r ; - c = cl.c - } ; - UseSlash t p cl = { - s = \\o => t.s ++ p.s ++ cl.s ! t.t ! t.a ! p.p ! o ; - n3 = cl.n3 ; - c2 = cl.c2 - } ; - - AdvS a s = {s = \\o => a.s ++ s.s ! Inv} ; - - RelS s r = {s = \\o => s.s ! o ++ "," ++ r.s ! agrP3 Neutr Sg} ; --- vilket - -} |
