mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-23 01:52:50 -06:00
rewrote SentenseChi.AdvSlash to prevent looping with unknown tokens ; the rule is right, but the cause of looping should be found
This commit is contained in:
@@ -24,9 +24,10 @@ concrete SentenceChi of Sentence = CatChi **
|
|||||||
|
|
||||||
|
|
||||||
-- yet another reason for discontinuity of clauses
|
-- yet another reason for discontinuity of clauses
|
||||||
AdvSlash slash adv =
|
AdvSlash slash adv = slash ** {vp = insertAdv adv slash.vp} ;
|
||||||
mkClauseCompl slash.np <insertAdv adv slash.vp : VP> []
|
---- parser loops with unknown tokens if this version is used AR 20/4/2014
|
||||||
** {c2 = slash.c2} ;
|
---- mkClauseCompl slash.np <insertAdv adv slash.vp : VP> []
|
||||||
|
---- ** {c2 = slash.c2} ;
|
||||||
|
|
||||||
SlashPrep cl prep = cl ** {c2 = prep} ;
|
SlashPrep cl prep = cl ** {c2 = prep} ;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user