From cefb149530244a3432796f530269971aa1165877 Mon Sep 17 00:00:00 2001 From: Inari Listenmaa Date: Tue, 11 Feb 2020 15:28:19 +0100 Subject: [PATCH] (Jpn) Fix bug in DetCN: missing cn.s when counterReplace=True --- src/japanese/NounJpn.gf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/japanese/NounJpn.gf b/src/japanese/NounJpn.gf index a3e12c2cf..0c4ad21a5 100644 --- a/src/japanese/NounJpn.gf +++ b/src/japanese/NounJpn.gf @@ -10,7 +10,8 @@ flags coding = utf8 ; True => case cn.hasAttr of { True => cn.object ! st ++ det.quant ! st ++ det.num ++ cn.counter ++ det.postpositive ++ "の" ++ cn.s ! det.n ! st ; - False => cn.object ! st ++ det.quant ! st ++ det.num ++ cn.counter ++ det.postpositive + False => cn.object ! st ++ det.quant ! st ++ det.num ++ cn.counter ++ det.postpositive + ++ cn.s ! det.n ! st } ; False => case of { => cn.object ! st ++ det.quant ! st ++ det.num ++ "個" ++ det.postpositive