forked from GitHub/gf-rgl
fix in Fin.CardCNCard
This commit is contained in:
@@ -7,6 +7,7 @@ concrete ExtendFin of Extend =
|
|||||||
,ExistCN, ExistMassCN, ICompAP, ByVP
|
,ExistCN, ExistMassCN, ICompAP, ByVP
|
||||||
,CompoundN, GenNP, GenIP, AdvIsNP, EmbedSSlash
|
,CompoundN, GenNP, GenIP, AdvIsNP, EmbedSSlash
|
||||||
,PassVPSlash, PassAgentVPSlash
|
,PassVPSlash, PassAgentVPSlash
|
||||||
|
,CardCNCard
|
||||||
]
|
]
|
||||||
with
|
with
|
||||||
(Grammar = GrammarFin) **
|
(Grammar = GrammarFin) **
|
||||||
@@ -226,7 +227,11 @@ lin
|
|||||||
isPron = False ; isNeg = dap.isNeg
|
isPron = False ; isNeg = dap.isNeg
|
||||||
} ;
|
} ;
|
||||||
|
|
||||||
lin CardCNCard card cn =
|
lin CardCNCard card cn = {
|
||||||
{s = \\n,c => card.s ! n ! c ++ cn.s ! card.n ! NCase n c ; n = Pl} ;
|
s = \\n,c =>
|
||||||
|
let k = case <card.n, c> of {<Pl,Nom> => Part ; _ => c}
|
||||||
|
in card.s ! n ! c ++ cn.s ! NCase Sg k ;
|
||||||
|
n = Pl
|
||||||
|
} ;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user