summaryrefslogtreecommitdiff
path: root/examples/app/App.gf
diff options
context:
space:
mode:
authoraarne <aarne@chalmers.se>2014-09-15 16:10:18 +0000
committeraarne <aarne@chalmers.se>2014-09-15 16:10:18 +0000
commit8d18828008f6543dbdee3dfc8341cb8896ff0ae6 (patch)
treef799068cd29d1c743a25ab2c2a0b6b2cf64b1e51 /examples/app/App.gf
parent2d91097f4992f5f99acd3b35ec8ad59a30b08118 (diff)
enabled VP-valued rules for V2V, V3, etc in App. Improve quality with less loss of speed than VPSlash-valued original rules.
Diffstat (limited to 'examples/app/App.gf')
-rw-r--r--examples/app/App.gf8
1 files changed, 7 insertions, 1 deletions
diff --git a/examples/app/App.gf b/examples/app/App.gf
index 7f5c45f17..24f4bb67c 100644
--- a/examples/app/App.gf
+++ b/examples/app/App.gf
@@ -1,7 +1,7 @@
abstract App =
Translate - [
-- Verb
- SlashV2V,
+ SlashV2V, -- replaced by more efficient inlined versions
Slash2V3, Slash3V3, SlashV2S, SlashV2Q, SlashV2A,
SlashVV, SlashV2VNP,
AdvVPSlash, AdVVPSlash, VPSlashPrep,
@@ -28,4 +28,10 @@ fun
PhrasePhr : Phrase -> Phr ;
Phrase_Chunk : Phrase -> Chunk ;
+ ComplV2V : V2V -> NP -> VP -> VP ;
+ ComplV2A : V2A -> NP -> AP -> VP ;
+ ComplV2Q : V2Q -> NP -> QS -> VP ;
+ ComplV2S : V2S -> NP -> S -> VP ;
+ ComplV3 : V3 -> NP -> NP -> VP ;
+
}