mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-06-25 02:56:28 -06:00
(Som) Add npcomp field to VP for more fine-grained control of word order
This commit is contained in:
@@ -141,24 +141,28 @@ lin
|
||||
-- : AP -> Comp ;
|
||||
CompAP ap = {
|
||||
comp = \\a => <[], ap.s ! AF (getNum a) Abs> ;
|
||||
npcomp = [] ;
|
||||
stm = Waa Copula ;
|
||||
} ;
|
||||
|
||||
-- : CN -> Comp ;
|
||||
CompCN cn = {
|
||||
comp = \\a => <[], cn2str Sg Abs cn> ;
|
||||
comp = \\a => <[], []> ;
|
||||
npcomp = cn2str Sg Abs cn ;
|
||||
stm = Waa NoCopula ;
|
||||
} ;
|
||||
|
||||
-- NP -> Comp ;
|
||||
CompNP np = {
|
||||
comp = \\a => <[], np.s ! Abs> ;
|
||||
comp = \\a => <[], []> ;
|
||||
npcomp = np.s ! Abs ;
|
||||
stm = Waa NoCopula ;
|
||||
} ;
|
||||
|
||||
-- : Adv -> Comp ;
|
||||
CompAdv adv = {
|
||||
comp = \\a => <[], linAdv adv> ;
|
||||
npcomp = [] ;
|
||||
stm = Waa Copula ;
|
||||
} ;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user