support postposition adjectives

This commit is contained in:
Krasimir Angelov
2018-07-03 18:48:46 +02:00
parent 7d01f6720f
commit 6fe595104c
4 changed files with 10 additions and 9 deletions
+3 -2
View File
@@ -141,14 +141,15 @@ param
}
} ;
mkAdjective : (_,_,_,_ : Str) -> {s : AForm => Str; lock_A : {}} =
mkAdjective : (_,_,_,_ : Str) -> {s : AForm => Str; isPre : Bool; lock_A : {}} =
\good,better,best,well -> lin A {
s = table {
AAdj Posit c => (regGenitiveS good) ! c ;
AAdj Compar c => (regGenitiveS better) ! c ;
AAdj Superl c => (regGenitiveS best) ! c ;
AAdv => well
}
} ;
isPre = True
} ;
mkVerb : (_,_,_,_,_ : Str) -> Verb =