forked from GitHub/gf-core
PersianRG
This commit is contained in:
14
lib/src/persian/MakeStructuralPes.gf
Normal file
14
lib/src/persian/MakeStructuralPes.gf
Normal file
@@ -0,0 +1,14 @@
|
||||
--# -path=.:../common:../abstract
|
||||
|
||||
resource MakeStructuralPnb = open CatPnb, ParadigmsPnb, ResPnb, MorphoPnb, NounPnb, Prelude in {
|
||||
|
||||
oper
|
||||
mkSubj : Str -> CatPnb.Subj = \x ->
|
||||
lin Subj {s = x} ;
|
||||
mkNP : Str -> Number -> ResPnb.NP = \s,n ->
|
||||
MassNP (UseN (ParadigmsPnb.mkN s));
|
||||
-- lin NP (regNP s n) ;
|
||||
mkIDet : Str -> Number -> IDet = \s,n ->
|
||||
lin IDet {s = \\_ => s ; n = n} ;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user