forked from GitHub/gf-rgl
remove obsolete commented out code
This commit is contained in:
+9
-53
@@ -1,7 +1,5 @@
|
||||
concrete NounTel of Noun = CatTel ** open ResTel, Prelude in {
|
||||
|
||||
flags optimize=all_subs ;
|
||||
|
||||
lin
|
||||
DetCN det cn = {
|
||||
s = \\c => det.s ! cn.g ! npcase2case c ++ toNP (cn.s ! det.n) c ;
|
||||
@@ -10,22 +8,17 @@ concrete NounTel of Noun = CatTel ** open ResTel, Prelude in {
|
||||
|
||||
UsePN pn = {s = \\c => toNP pn.s c ; a = agrP3 pn.g Sg} ;
|
||||
UsePron p = {s = \\c => p.s ! np2pronCase c ; a = p.a} ;
|
||||
--
|
||||
|
||||
PredetNP pred np = {
|
||||
s = \\c => pred.s ++ np.s ! c ;
|
||||
a = np.a
|
||||
} ;
|
||||
--
|
||||
|
||||
PPartNP np v2 = {
|
||||
s = \\c => np.s ! c ++ v2.s ! VStem ;
|
||||
a = np.a
|
||||
} ;
|
||||
--
|
||||
-- RelNP np rs = {
|
||||
-- s = \\c => np.s ! c ++ "," ++ rs.s ! np.a ;
|
||||
-- a = np.a
|
||||
-- } ;
|
||||
--
|
||||
|
||||
AdvNP np adv = {
|
||||
s = \\c => adv.s ++ np.s ! c ;
|
||||
a = np.a
|
||||
@@ -35,7 +28,7 @@ concrete NounTel of Noun = CatTel ** open ResTel, Prelude in {
|
||||
s = \\c => np.s ! c ++ "," ++ adv.s ;
|
||||
a = np.a
|
||||
} ;
|
||||
--
|
||||
|
||||
DetQuantOrd quant num ord = {
|
||||
s = \\g,c => quant.s ! num.n ! g ! c ++ num.s ++ ord.s ;
|
||||
n = num.n
|
||||
@@ -46,11 +39,6 @@ concrete NounTel of Noun = CatTel ** open ResTel, Prelude in {
|
||||
n = num.n
|
||||
} ;
|
||||
|
||||
-- DetNP det = {
|
||||
-- s = \\c => det.s ; ---- case
|
||||
-- a = agrP3 det.n
|
||||
-- } ;
|
||||
--
|
||||
PossPron p = {s = \\_,_,_ => p.s ! PPoss} ;
|
||||
|
||||
NumSg = {s = []; n = Sg} ;
|
||||
@@ -63,17 +51,8 @@ concrete NounTel of Noun = CatTel ** open ResTel, Prelude in {
|
||||
AdNum adn card = {s = adn.s ++ card.s ; n = card.n} ;
|
||||
OrdNumeral numeral = {s = numeral.s} ;
|
||||
OrdDigits digits = {s = digits.s ++ "వ"} ;
|
||||
--
|
||||
-- NumDigits n = {s = n.s ! NCard ; n = n.n} ;
|
||||
-- OrdDigits n = {s = n.s ! NOrd} ;
|
||||
--
|
||||
NumNumeral numeral = {s = numeral.s ; n = Pl} ;
|
||||
-- OrdNumeral numeral = {s = numeral.s ! NOrd} ;
|
||||
--
|
||||
-- AdNum adn num = {s = adn.s ++ num.s ; n = num.n} ;
|
||||
--
|
||||
-- OrdSuperl a = {s = a.s ! AAdj Superl} ;
|
||||
--
|
||||
|
||||
DetArtOrd art num ord = {
|
||||
s = art.s ++ num.s ++ ord.s ;
|
||||
n = num.n
|
||||
@@ -92,30 +71,13 @@ concrete NounTel of Noun = CatTel ** open ResTel, Prelude in {
|
||||
|
||||
MassNP cn = {s = \\c => cn.s ! Sg ! npcase2case c ; a = agrP3 cn.g Sg} ;
|
||||
|
||||
UseN n = n ;
|
||||
UseN n = n ;
|
||||
UseN2 n = n ;
|
||||
--
|
||||
-- Use2N3 f = {
|
||||
-- s = \\n,c => f.s ! n ! Nom ;
|
||||
-- g = f.g ;
|
||||
-- c2 = f.c2
|
||||
-- } ;
|
||||
--
|
||||
-- Use3N3 f = {
|
||||
-- s = \\n,c => f.s ! n ! Nom ;
|
||||
-- g = f.g ;
|
||||
-- c2 = f.c3
|
||||
-- } ;
|
||||
--
|
||||
|
||||
ComplN2 f x = {
|
||||
s = \\n,c => x.s ! NPC c ++ f.c2 ++ f.s ! n ! c ;
|
||||
g = f.g
|
||||
} ;
|
||||
-- ComplN3 f x = {
|
||||
-- s = \\n,c => f.s ! n ! Nom ++ f.c2 ++ x.s ! c ;
|
||||
-- g = f.g ;
|
||||
-- c2 = f.c3
|
||||
-- } ;
|
||||
|
||||
AdjCN ap cn = {
|
||||
s = \\n,c => ap.s ! cn.g ! n ! c ++ cn.s ! n ! c ;
|
||||
@@ -127,12 +89,8 @@ concrete NounTel of Noun = CatTel ** open ResTel, Prelude in {
|
||||
g = cn.g
|
||||
} ;
|
||||
|
||||
-- RelCN cn rs = {
|
||||
-- s = \\n,c => cn.s ! n ! c ++ rs.s ! agrgP3 n cn.g ;
|
||||
-- g = cn.g
|
||||
-- } ;
|
||||
AdvCN cn ad = {s = \\n,c => ad.s ++ cn.s ! n ! c ; g = cn.g} ;
|
||||
--
|
||||
|
||||
SentCN cn sc = {s = \\n,c => sc.s ++ cn.s ! n ! c ; g = cn.g} ;
|
||||
|
||||
PossNP cn np = {
|
||||
@@ -167,7 +125,5 @@ concrete NounTel of Noun = CatTel ** open ResTel, Prelude in {
|
||||
s = \\c => rs.s ++ np.s ! c ;
|
||||
a = np.a
|
||||
} ;
|
||||
--
|
||||
-- ApposCN cn np = {s = \\n,c => cn.s ! n ! Nom ++ np.s ! c ; g = cn.g} ;
|
||||
--
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user