summaryrefslogtreecommitdiff
path: root/example/toy
diff options
context:
space:
mode:
Diffstat (limited to 'example/toy')
-rw-r--r--example/toy/grammar10
1 files changed, 5 insertions, 5 deletions
diff --git a/example/toy/grammar b/example/toy/grammar
index 81d41c7..313a4f2 100644
--- a/example/toy/grammar
+++ b/example/toy/grammar
@@ -1,11 +1,11 @@
-[S] ||| [NP,1] [VP,2] ||| [1] [2] ||| logp=0
+[S] ||| [NP,1] [VP,2] ||| [NP,1] [VP,2] ||| logp=0
[NP] ||| ich ||| i ||| logp=-0.5 use_i=1.0
-[NP] ||| ein [NN,1] ||| a [1] ||| logp=0 use_a=1.0
+[NP] ||| ein [NN,1] ||| a [NN,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
+[NN] ||| [JJ,1] haus ||| [JJ,1] house ||| logp=0 use_house=1
+[NN] ||| [JJ,1] haus ||| [JJ,1] shell ||| logp=0 use_shell=1
[JJ] ||| kleines ||| small ||| logp=0 use_small=1.0
[JJ] ||| kleines ||| little ||| logp=0 use_little=1.0
-[VP] ||| [V,1] [NP,2] ||| [1] [2] ||| logp=0
+[VP] ||| [V,1] [NP,2] ||| [V,1] [NP,2] ||| logp=0
[V] ||| sah ||| saw ||| logp=-0.25 use_saw=1.0