summaryrefslogtreecommitdiff
path: root/example/glue/glue.json
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2014-06-18 10:17:15 +0200
committerPatrick Simianer <p@simianer.de>2014-06-18 10:17:15 +0200
commit30109b5c6868bb3f638019ce099945a08f097d8f (patch)
tree7aaed81094d2f05c3a8c8dc5c8bfa048e9e2c572 /example/glue/glue.json
parentd92209e3ec223a380c7ad540622caa15712c490c (diff)
new json example files
Diffstat (limited to 'example/glue/glue.json')
-rw-r--r--example/glue/glue.json20
1 files changed, 20 insertions, 0 deletions
diff --git a/example/glue/glue.json b/example/glue/glue.json
new file mode 100644
index 0000000..e92d0d3
--- /dev/null
+++ b/example/glue/glue.json
@@ -0,0 +1,20 @@
+{
+"weights":{},
+"nodes":
+[
+{ "id":0, "cat":"X", "span":[2,3] },
+{ "id":1, "cat":"X", "span":[4,5] },
+{ "id":2, "cat":"X", "span":[1,3] },
+{ "id":3, "cat":"X", "span":[3,5] },
+{ "id":4, "cat":"X", "span":[0,3] },
+{ "id":-1, "cat":"root", "span":[-1, -1] }
+],
+"edges":
+[
+{ "head":0, "rule":"[X] ||| an ||| for |||", "tails":[-1], "f":{} },
+{ "head":1, "rule":"[X] ||| inflation ||| inflation |||", "tails":[-1], "f":{} },
+{ "head":2, "rule":"[X] ||| schuld X,0] ||| responsible [X,1] |||", "tails":[0], "f":{} },
+{ "head":3, "rule":"[X] ||| europäischer X,0] ||| european [X,1] |||", "tails":[1], "f":{} },
+{ "head":4, "rule":"[X] ||| lebensmittel X,0] ||| food [X,1] |||", "tails":[2], "f":{} }
+]
+}