summaryrefslogtreecommitdiff
path: root/examples/app/App.gf
diff options
context:
space:
mode:
authoraarne <aarne@chalmers.se>2016-05-14 08:30:49 +0000
committeraarne <aarne@chalmers.se>2016-05-14 08:30:49 +0000
commit7c8d2f71dc71a1890cc3b4c77d440c63f82cf76b (patch)
tree10db9012b1845c08b7c07b5d91163c0f8d1d002f /examples/app/App.gf
parentbde9dc7cfdf4142909c9f9d06625aeb2352f504e (diff)
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.
Diffstat (limited to 'examples/app/App.gf')
-rw-r--r--examples/app/App.gf16
1 files changed, 7 insertions, 9 deletions
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 ;
--}
}