From b385228969382185afee33d0661790b2831ac6c1 Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Tue, 20 May 2014 14:40:55 +0200 Subject: intersect2 correct & fast (ok, at least not impossibly slow) --- example/grammar | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'example/grammar') 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 -- cgit v1.2.3