mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-12 20:52:50 -06:00
Punjabi resource by Shafqat and Humayoun.
This commit is contained in:
39
lib/src/punjabi/AdjectivePnb.gf
Normal file
39
lib/src/punjabi/AdjectivePnb.gf
Normal file
@@ -0,0 +1,39 @@
|
||||
concrete AdjectivePnb of Adjective = CatPnb ** open ResPnb, Prelude in {
|
||||
|
||||
flags coding = utf8;
|
||||
lin
|
||||
|
||||
PositA a = a ;
|
||||
UseComparA a = a;
|
||||
|
||||
ComparA a np = {
|
||||
s = \\n,g,c => np.s ! NPC Obl ++ "توں" ++ a.s ! n ! g ! c ;
|
||||
} ;
|
||||
|
||||
---- $SuperlA$ belongs to determiner syntax in $Noun$.
|
||||
|
||||
ComplA2 a np = {
|
||||
s = \\n,g,c => np.s ! NPC Obl ++ a.c2 ++ a.s ! n ! g ! c ;
|
||||
} ;
|
||||
|
||||
ReflA2 a = {
|
||||
s = \\n,g,c => a.s ! n ! g ! c ++ RefPron ++ "نال" ;
|
||||
} ;
|
||||
|
||||
SentAP ap sc = {
|
||||
s = \\n,g,c => ap.s ! n ! g ! c ++ sc.s ;
|
||||
} ;
|
||||
|
||||
AdAP ada ap = {
|
||||
s = \\n,g,c => ada.s ++ ap.s ! n ! g ! c ;
|
||||
} ;
|
||||
|
||||
UseA2 a = a ;
|
||||
|
||||
CAdvAP cadv ap np = {
|
||||
s = \\n,g,c => cadv.s ++ ap.s ! n ! g ! c ++ cadv.p ++ np.s ! NPC Dir ;
|
||||
};
|
||||
|
||||
AdjOrd ord = { s = \\_,_,_ => ord.s ; };
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user