mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-06-30 11:08:35 -06:00
Add some prepositions, merge with pronouns (TODO: merge with articles too)
This commit is contained in:
+11
-4
@@ -1,6 +1,6 @@
|
||||
concrete AdverbGla of Adverb = CatGla ** open ResGla, ParadigmsGla, Prelude in {
|
||||
{-
|
||||
lin
|
||||
{-
|
||||
|
||||
-- : A -> Adv ;
|
||||
PositAdvAdj adj =
|
||||
@@ -10,10 +10,17 @@ lin
|
||||
|
||||
-- : CAdv -> A -> S -> Adv ; -- more warmly than he runs
|
||||
ComparAdvAdjS cadv a s =
|
||||
|
||||
-}
|
||||
-- : Prep -> NP -> Adv ;
|
||||
PrepNP prep np = ;
|
||||
|
||||
PrepNP prep np = {
|
||||
s = prep.s ! np.a ++
|
||||
case <prep.replacesPron, np.a> of {
|
||||
<_, NotPron _> | <False, _>
|
||||
=> np.s ! CC (prep.c2 ! np.d) ;
|
||||
_ => np.empty -- empty string to avoid metavariables
|
||||
}
|
||||
} ;
|
||||
{-
|
||||
-- Adverbs can be modified by 'adadjectives', just like adjectives.
|
||||
|
||||
-- : AdA -> Adv -> Adv ; -- very quickly
|
||||
|
||||
Reference in New Issue
Block a user