1
0
forked from GitHub/gf-core

postfix subjunction SSubjS, defined for Eng, Ger, Romance

This commit is contained in:
aarne
2009-12-17 08:49:41 +00:00
parent 283807d2ec
commit 787714b3fe
4 changed files with 10 additions and 0 deletions

View File

@@ -66,6 +66,10 @@ abstract Sentence = Cat ** {
AdvS : Adv -> S -> S ; -- today, I will go home
-- This covers subjunctive clauses, but they can also be added to the end.
SSubjS : S -> Subj -> S -> S ; -- I go home if she comes
-- A sentence can be modified by a relative clause referring to its contents.
RelS : S -> RS -> S ; -- she sleeps, which is good

View File

@@ -58,6 +58,8 @@ concrete SentenceEng of Sentence = CatEng ** open Prelude, ResEng in {
AdvS a s = {s = a.s ++ "," ++ s.s} ;
SSubjS a s b = {s = a.s ++ "," ++ s.s ++ b.s} ;
RelS s r = {s = s.s ++ "," ++ r.s ! agrP3 Sg} ;
oper

View File

@@ -62,6 +62,8 @@ concrete SentenceGer of Sentence = CatGer ** open ResGer, Prelude in {
AdvS a s = {s = \\o => a.s ++ s.s ! Inv} ;
SSubjS a s b = {s = \\o => a.s ! o ++ "," ++ s.s ++ b.s ! Sub} ;
RelS s r = {s = \\o => s.s ! o ++ "," ++ r.s ! gennum Neutr Sg} ; --- "welches"
}

View File

@@ -69,6 +69,8 @@ incomplete concrete SentenceRomance of Sentence =
AdvS a s = {s = \\o => a.s ++ "," ++ s.s ! o} ;
SSubjS a s b = {s = \\m => a.s ! m ++ "," ++ s.s ++ b.s ! s.m} ;
RelS s r = {
s = \\o => s.s ! o ++ "," ++ partQIndir ++ r.s ! Indic ! agrP3 Masc Sg
} ;