diff options
| author | aarne <aarne@cs.chalmers.se> | 2008-11-15 11:19:10 +0000 |
|---|---|---|
| committer | aarne <aarne@cs.chalmers.se> | 2008-11-15 11:19:10 +0000 |
| commit | 3ff57f6184963acde7f3cc2dcf0638c0e819929a (patch) | |
| tree | e5c975ae99dd3e45f9a4e700658b39d9bf90e68f /next-lib/src/scandinavian | |
| parent | 6b4f9715e6acb87e05b8229bafd1f41d906e6409 (diff) | |
comparative adverbs generalized to cover more of Attempto
Diffstat (limited to 'next-lib/src/scandinavian')
| -rw-r--r-- | next-lib/src/scandinavian/AdjectiveScand.gf | 5 | ||||
| -rw-r--r-- | next-lib/src/scandinavian/AdverbScand.gf | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/next-lib/src/scandinavian/AdjectiveScand.gf b/next-lib/src/scandinavian/AdjectiveScand.gf index 3dfe36fec..f6243e4a5 100644 --- a/next-lib/src/scandinavian/AdjectiveScand.gf +++ b/next-lib/src/scandinavian/AdjectiveScand.gf @@ -23,6 +23,11 @@ incomplete concrete AdjectiveScand of Adjective = isPre = False } ; + CAdvAP ad ap np = { + s = \\a => ad.s ++ ap.s ! a ++ ad.p ++ np.s ! nominative ; + isPre = False + } ; + AdjOrd ord = { s = \\_ => ord.s ; isPre = True diff --git a/next-lib/src/scandinavian/AdverbScand.gf b/next-lib/src/scandinavian/AdverbScand.gf index 1afa40cf1..ba25954ef 100644 --- a/next-lib/src/scandinavian/AdverbScand.gf +++ b/next-lib/src/scandinavian/AdverbScand.gf @@ -5,10 +5,10 @@ incomplete concrete AdverbScand of Adverb = CatScand ** open CommonScand, ResSca s = a.s ! adverbForm } ; ComparAdvAdj cadv a np = { - s = cadv.s ++ a.s ! adverbForm ++ conjThan ++ np.s ! nominative + s = cadv.s ++ a.s ! adverbForm ++ cadv.p ++ np.s ! nominative } ; ComparAdvAdjS cadv a s = { - s = cadv.s ++ a.s ! adverbForm ++ conjThan ++ s.s ! Sub + s = cadv.s ++ a.s ! adverbForm ++ cadv.p ++ s.s ! Sub } ; PrepNP prep np = {s = prep.s ++ np.s ! accusative} ; |
