From 7c8d2f71dc71a1890cc3b4c77d440c63f82cf76b Mon Sep 17 00:00:00 2001 From: aarne Date: Sat, 14 May 2016 08:30:49 +0000 Subject: commented out the import of Phrasebook in App with --P; the idea is that application grammar parsing is done in a separate phase, which is faster and more flexible. Also re-enabled ComplV3 and ComplV2V, after testing that they don't reduce the parsing speed too much. --- examples/app/App.gf | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'examples/app/App.gf') diff --git a/examples/app/App.gf b/examples/app/App.gf index 4ac4e112a..6414d0744 100644 --- a/examples/app/App.gf +++ b/examples/app/App.gf @@ -22,7 +22,7 @@ abstract App = -- Extensions PassVPSlash, PassAgentVPSlash -- not reachable anyway ] - ,Phrasebook +--P ,Phrasebook ** { flags @@ -30,19 +30,17 @@ flags heuristic_search_factor=0.80; -- doesn't seem to affect speed or quality much fun - PhrasePhr : Phrase -> Phr ; - Phrase_Chunk : Phrase -> Chunk ; +--P PhrasePhr : Phrase -> Phr ; +--P Phrase_Chunk : Phrase -> Chunk ; ComplV2 : V2 -> NP -> VP ; PassV2 : V2 -> VP ; - -{- ComplV2V : V2V -> NP -> VP -> VP ; - ComplV2A : V2A -> NP -> AP -> VP ; - ComplV2Q : V2Q -> NP -> QS -> VP ; - ComplV2S : V2S -> NP -> S -> VP ; +-- ComplV2A : V2A -> NP -> AP -> VP ; +-- ComplV2Q : V2Q -> NP -> QS -> VP ; +-- ComplV2S : V2S -> NP -> S -> VP ; + ComplV3 : V3 -> NP -> NP -> VP ; --} } -- cgit v1.2.3