1
0
forked from GitHub/gf-rgl

(Chi) Add ExtendChi

This commit is contained in:
Inari Listenmaa
2021-08-04 14:46:48 +08:00
parent 1853365942
commit 4f821ca621

19
src/chinese/ExtendChi.gf Normal file
View File

@@ -0,0 +1,19 @@
--# -path=alltenses:../common:../abstract
concrete ExtendChi of Extend = CatChi **
ExtendFunctor - [ProDrop,ComplDirectVS, ComplDirectVQ]
with (Grammar=GrammarChi) ** open Prelude, ResChi in {
lin
ProDrop pron = pron ** {s = []} ;
ComplDirectVS vs utt =
AdvVP (UseV <lin V vs : V>)
(mkAdv (":" ++ quoted utt.s)) ; -- DEFAULT complement added as Adv in quotes
ComplDirectVQ vq utt =
AdvVP (UseV <lin V vq : V>)
(mkAdv (":" ++ quoted utt.s)) ; -- DEFAULT complement added as Adv in quotes
oper
mkAdv : Str -> Adv ;
mkAdv str = lin Adv {s = str ; advType = ATManner ; hasDe = False} ;
};