mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-12 04:32:50 -06:00
relatives
This commit is contained in:
@@ -7,21 +7,21 @@ concrete NounEng of Noun = CatEng ** open ResEng, Prelude in {
|
||||
UsePN pn = pn ** agrP3 Sg ;
|
||||
UsePron p = p ;
|
||||
|
||||
MkDet pred quant num = {
|
||||
s = pred.s ++ quant.s ++ num.s ;
|
||||
MkDet pred quant num ord = {
|
||||
s = pred.s ++ quant.s ++ num.s ++ ord.s ;
|
||||
n = quant.n
|
||||
} ;
|
||||
|
||||
PossPronSg p = {s = p.s ! Gen ; n = Sg} ;
|
||||
PossPronPl p = {s = p.s ! Gen ; n = Pl} ;
|
||||
|
||||
NoNum, NoPredet = {s = []} ;
|
||||
NoPredet, NoNum, NoOrd = {s = []} ;
|
||||
NumInt n = n ;
|
||||
|
||||
CardNumeral numeral = {s = numeral.s ! NCard} ;
|
||||
NumNumeral numeral = {s = numeral.s ! NCard} ;
|
||||
OrdNumeral numeral = {s = numeral.s ! NOrd} ;
|
||||
|
||||
NumSuperl a = {s = a.s ! AAdj Superl} ;
|
||||
OrdSuperl a = {s = a.s ! AAdj Superl} ;
|
||||
|
||||
DefSg = {s = "the" ; n = Sg} ;
|
||||
DefPl = {s = "the" ; n = Pl} ;
|
||||
@@ -33,6 +33,7 @@ concrete NounEng of Noun = CatEng ** open ResEng, Prelude in {
|
||||
ComplN3 f x = {s = \\n,c => f.s ! n ! Nom ++ f.c2 ++ x.s ! c ; c2 = f.c3} ;
|
||||
|
||||
AdjCN ap cn = {s = \\n,c => preOrPost ap.isPre ap.s (cn.s ! n ! c)} ;
|
||||
RelCN cn rs = {s = \\n,c => cn.s ! n ! c ++ rs.s ! {n = n ; p = P3}} ;
|
||||
|
||||
SentCN cn s = {s = \\n,c => cn.s ! n ! c ++ conjThat ++ s.s} ;
|
||||
QuestCN cn qs = {s = \\n,c => cn.s ! n ! c ++ qs.s ! QIndir} ;
|
||||
|
||||
Reference in New Issue
Block a user