mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-27 05:22:50 -06:00
working through translator/Extensions with some reorganization and generalizations
This commit is contained in:
@@ -63,17 +63,11 @@ lin
|
||||
PredVPosv = G.PredVP;
|
||||
PredVPovs = G.PredVP;
|
||||
|
||||
CompoundCN num noun cn = {
|
||||
s = \\a,n,c => num.s ! noun.g ! Nom ++ glue (noun.s ! num.n ! Nom) (cn.s ! a ! n ! c) ;
|
||||
CompoundCN noun cn = {
|
||||
s = \\a,n,c => glue (noun.s ! Sg ! Nom) (cn.s ! a ! n ! c) ;
|
||||
g = cn.g
|
||||
} ;
|
||||
|
||||
|
||||
DashCN noun1 noun2 = { -- type-checking
|
||||
s = \\n,c => glue (noun1.s ! Sg ! Nom) (noun2.s ! n ! c) ;
|
||||
g = noun2.g
|
||||
} ;
|
||||
|
||||
GerundN v = { -- parsing
|
||||
s = \\n,c => v.s ! VInf False ; --- formalisieren, not formalisierung
|
||||
g = Neutr
|
||||
|
||||
Reference in New Issue
Block a user