summaryrefslogtreecommitdiff
path: root/example/toy-reorder/grammar
diff options
context:
space:
mode:
Diffstat (limited to 'example/toy-reorder/grammar')
-rw-r--r--example/toy-reorder/grammar6
1 files changed, 6 insertions, 0 deletions
diff --git a/example/toy-reorder/grammar b/example/toy-reorder/grammar
new file mode 100644
index 0000000..d93d98c
--- /dev/null
+++ b/example/toy-reorder/grammar
@@ -0,0 +1,6 @@
+[S] ||| [NP,1] [VP,2] ||| [NP,1] [VP,2] ||| logp=0
+[NP] ||| er ||| he ||| logp=-0.5
+[NP] ||| das [NN,1] ||| the [NN,1] ||| logp=0
+[NN] ||| buch ||| book ||| logp=0
+[VP] ||| [NP,1] [V,2] ||| [V,2] [NP,1] ||| logp=0
+[V] ||| liest ||| reads ||| logp=-0.25