mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-30 21:28:54 -06:00
verb subcat patterns
This commit is contained in:
@@ -17,6 +17,20 @@ concrete SentenceEng of Sentence = CatEng ** open ResEng in {
|
||||
}
|
||||
} ;
|
||||
|
||||
PredSCVP sc vp = {
|
||||
s = \\t,a,b,o =>
|
||||
let
|
||||
agr = (agrP3 Sg).a ;
|
||||
verb = vp.s ! t ! a ! b ! o ! agr ;
|
||||
subj = sc.s ;
|
||||
compl = vp.s2 ! agr
|
||||
in
|
||||
case o of {
|
||||
ODir => subj ++ verb.fin ++ verb.inf ++ compl ;
|
||||
OQuest => verb.fin ++ subj ++ verb.inf ++ compl
|
||||
}
|
||||
} ;
|
||||
|
||||
ImpVP vp = {
|
||||
s = \\pol,n =>
|
||||
let
|
||||
|
||||
Reference in New Issue
Block a user