1
0
forked from GitHub/gf-core

CompCN in Hindustani and Pnb by Shafqat

This commit is contained in:
aarne
2010-12-08 10:59:48 +00:00
parent cdea282e8b
commit 0cae4151e3
5 changed files with 84 additions and 82 deletions

View File

@@ -1023,7 +1023,7 @@ incomplete resource Constructors = open Grammar in { --%
mkAP : Ord -> AP -- oldest
= AdjOrd ; --%
mkAP : CAdv -> AP -> NP -> AP -- as old as John
mkAP : CAdv -> AP -> NP -> AP -- as old as John
= CAdvAP ; --%
} ; --%

View File

@@ -36,6 +36,7 @@ incomplete concrete VerbHindustani of Verb = CatHindustani ** open CommonHindust
CompAP ap ={s = \\a => ap.s ! giveNumber a ! giveGender a ! Dir ! Posit } ;
CompNP np = {s = \\_ => np.s ! NPObj} ;
CompAdv adv = {s = \\a => adv.s ! giveGender a} ;
CompCN cn = {s = \\a => cn.s ! giveNumber a ! Dir} ;
}

View File

@@ -40,6 +40,7 @@ concrete VerbPnb of Verb = CatPnb ** open ResPnb in {
CompAP ap ={s = \\a => ap.s ! giveNumber a ! giveGender a ! Dir } ;
CompNP np = {s = \\_ => np.s ! NPObj} ;
CompAdv adv = {s = \\a => adv.s ! (fromAgr a).g } ;
CompCN cn = {s = \\a => cn.s ! giveNumber a ! Dir} ;
}