From 6f8e0a8a93f6bded52d818f8c510e40c2e0700d6 Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Mon, 5 May 2014 19:29:03 +0200 Subject: proper cky+ --- grammar | 3 +++ 1 file changed, 3 insertions(+) (limited to 'grammar') diff --git a/grammar b/grammar index dd103c5..c464245 100644 --- a/grammar +++ b/grammar @@ -1,8 +1,11 @@ [S] ||| [NP,1] [VP,2] ||| [1] [2] ||| logp=0 [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 saw a [NN,1] house ||| logp=0 [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 +[NN] ||| kleines haus ||| little house ||| logp=0 use_house=1 [NN] ||| [JJ,1] haus ||| [1] house ||| logp=0 use_house=1 [NN] ||| [JJ,1] haus ||| [1] shell ||| logp=0 use_shell=1 [JJ] ||| kleines ||| small ||| logp=0 use_small=1.0 -- cgit v1.2.3