From 30109b5c6868bb3f638019ce099945a08f097d8f Mon Sep 17 00:00:00 2001 From: Patrick Simianer
Date: Wed, 18 Jun 2014 10:17:15 +0200 Subject: new json example files --- example/glue/glue.json | 20 ++++++++++++++++++++ example/glue/weights | 0 2 files changed, 20 insertions(+) create mode 100644 example/glue/glue.json create mode 100644 example/glue/weights (limited to 'example/glue') 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":{} } +] +} diff --git a/example/glue/weights b/example/glue/weights new file mode 100644 index 0000000..e69de29 -- cgit v1.2.3