From 90161e6fecc683c32cb436166b04b487c9f9b48a Mon Sep 17 00:00:00 2001 From: aarne Date: Sun, 20 Apr 2014 07:41:57 +0000 Subject: [PATCH] rewrote SentenseChi.AdvSlash to prevent looping with unknown tokens ; the rule is right, but the cause of looping should be found --- lib/src/chinese/SentenceChi.gf | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/src/chinese/SentenceChi.gf b/lib/src/chinese/SentenceChi.gf index efa40ba00..175592b6e 100644 --- a/lib/src/chinese/SentenceChi.gf +++ b/lib/src/chinese/SentenceChi.gf @@ -24,9 +24,10 @@ concrete SentenceChi of Sentence = CatChi ** -- yet another reason for discontinuity of clauses - AdvSlash slash adv = - mkClauseCompl slash.np [] - ** {c2 = slash.c2} ; + AdvSlash slash adv = slash ** {vp = insertAdv adv slash.vp} ; +---- parser loops with unknown tokens if this version is used AR 20/4/2014 +---- mkClauseCompl slash.np [] +---- ** {c2 = slash.c2} ; SlashPrep cl prep = cl ** {c2 = prep} ;