mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-30 06:52:49 -06:00
complete Thai resource syntax (but many unverified rules)
This commit is contained in:
@@ -4,33 +4,22 @@ concrete AdjectiveTha of Adjective = CatTha ** open ResTha, Prelude in {
|
||||
|
||||
PositA a = a ;
|
||||
|
||||
-- ComparA a np = {
|
||||
-- s = \\_ => a.s ! AAdj Compar ++ "than" ++ np.s ! Nom ;
|
||||
-- isPre = False
|
||||
-- } ;
|
||||
--
|
||||
---- $SuperlA$ belongs to determiner syntax in $Noun$.
|
||||
--
|
||||
-- ComplA2 a np = {
|
||||
-- s = \\_ => a.s ! AAdj Posit ++ a.c2 ++ np.s ! Acc ;
|
||||
-- isPre = False
|
||||
-- } ;
|
||||
--
|
||||
-- ReflA2 a = {
|
||||
-- s = \\ag => a.s ! AAdj Posit ++ a.c2 ++ reflPron ! ag ;
|
||||
-- isPre = False
|
||||
-- } ;
|
||||
--
|
||||
-- SentAP ap sc = {
|
||||
-- s = \\a => ap.s ! a ++ sc.s ;
|
||||
-- isPre = False
|
||||
-- } ;
|
||||
--
|
||||
-- AdAP ada ap = {
|
||||
-- s = \\a => ada.s ++ ap.s ! a ;
|
||||
-- isPre = ap.isPre
|
||||
-- } ;
|
||||
--
|
||||
-- UseA2 a = a ;
|
||||
--
|
||||
ComparA a np = mkAdj (thbind a.s kwaa_s np.s) ;
|
||||
|
||||
UseComparA a = mkAdj (thbind a.s kwaa_s) ;
|
||||
|
||||
AdjOrd ord = ord ;
|
||||
|
||||
CAdvAP ad ap np = mkAdj (thbind ap.s ad.s np.s) ;
|
||||
|
||||
ComplA2 a np = mkAdj (thbind a.s a.c2 np.s) ;
|
||||
|
||||
ReflA2 a = mkAdj (thbind a.s a.c2 reflPron) ;
|
||||
|
||||
SentAP ap sc = thbind ap sc ;
|
||||
|
||||
AdAP ada ap = thbind ap ada ;
|
||||
|
||||
UseA2 a = a ;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user