summaryrefslogtreecommitdiff
path: root/example/grammar
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2014-05-20 14:40:55 +0200
committerPatrick Simianer <p@simianer.de>2014-05-20 14:40:55 +0200
commitb385228969382185afee33d0661790b2831ac6c1 (patch)
tree61f49eed0a21fd146b059605d5e85a28f40f2053 /example/grammar
parent25d3f57028fecfcc6ee344a89577542368e92bf3 (diff)
intersect2 correct & fast (ok, at least not impossibly slow)
Diffstat (limited to 'example/grammar')
-rw-r--r--example/grammar5
1 files changed, 1 insertions, 4 deletions
diff --git a/example/grammar b/example/grammar
index 1d72ce5..4a3c93c 100644
--- a/example/grammar
+++ b/example/grammar
@@ -1,8 +1,5 @@
[S] ||| [NP,1] [VP,2] ||| [1] [2] ||| logp=0
-[S] ||| ich sah ein kleines haus |||
-[S] ||| ich [VP,2] ||| i [1] [2] ||| logp=0
-[S] ||| ich sah ein [NN,1] haus ||| i saw a [NN,1] house ||| logp=0
-[S] ||| ich [V,1] ein [NN,1] haus ||| i [1] a [2] house ||| logp=0
+[S] ||| ich sah ein [NN,1] |||
[NP] ||| ich ||| i ||| logp=-0.5 use_i=1.0
[NP] ||| ein [NN,1] ||| a [1] ||| logp=0 use_a=1.0
[NN] ||| kleines haus ||| small house ||| logp=0 use_house=1