diff options
author | Patrick Simianer <p@simianer.de> | 2014-06-18 16:19:32 +0200 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2014-06-18 16:19:32 +0200 |
commit | f9106c8353aeaf6456a3eb0ea0c1e429f5de7650 (patch) | |
tree | 9b4c2baad153d189821633ef6649647d0992a1fa /example/glue | |
parent | 33fda7f79c02b8ef152b88a11f3810c9a25a7381 (diff) |
integration
Diffstat (limited to 'example/glue')
-rw-r--r-- | example/glue/glue.json | 36 |
1 files changed, 26 insertions, 10 deletions
diff --git a/example/glue/glue.json b/example/glue/glue.json index e92d0d3..d8ae852 100644 --- a/example/glue/glue.json +++ b/example/glue/glue.json @@ -2,19 +2,35 @@ "weights":{}, "nodes": [ +{ "id":-1, "cat":"root", "span":[-1,-1] }, { "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] } +{ "id":1, "cat":"S", "span":[2,3] }, +{ "id":2, "cat":"X", "span":[4,5] }, +{ "id":3, "cat":"S", "span":[4,5] }, +{ "id":4, "cat":"X", "span":[1,3] }, +{ "id":5, "cat":"S", "span":[1,3] }, +{ "id":6, "cat":"X", "span":[3,5] }, +{ "id":7, "cat":"S", "span":[3,5] }, +{ "id":8, "cat":"X", "span":[0,3] }, +{ "id":9, "cat":"S", "span":[0,3] }, +{ "id":10, "cat":"S", "span":[2,5] }, +{ "id":11, "cat":"S", "span":[1,5] }, +{ "id":12, "cat":"S", "span":[0,5] } ], "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":{} } +{ "head":0, "rule":"[X] ||| an ||| for", "tails":[-1], "f":{} }, +{ "head":1, "rule":"[S] ||| [X,1] ||| [X,1]", "tails":[0], "f":{} }, +{ "head":2, "rule":"[X] ||| inflation ||| inflation", "tails":[-1], "f":{} }, +{ "head":3, "rule":"[S] ||| [X,1] ||| [X,1]", "tails":[2], "f":{} }, +{ "head":4, "rule":"[X] ||| schuld [X,1] ||| responsible [X,1]", "tails":[0], "f":{} }, +{ "head":5, "rule":"[S] ||| [X,1] ||| [X,1]", "tails":[4], "f":{} }, +{ "head":6, "rule":"[X] ||| europäischer [X,1] ||| european [X,1]", "tails":[2], "f":{} }, +{ "head":7, "rule":"[S] ||| [X,1] ||| [X,1]", "tails":[6], "f":{} }, +{ "head":8, "rule":"[X] ||| lebensmittel [X,1] ||| food [X,1]", "tails":[4], "f":{} }, +{ "head":9, "rule":"[S] ||| [X,1] ||| [X,1]", "tails":[8], "f":{} }, +{ "head":10, "rule":"[S] ||| [S,1] [X,2] ||| [S,1] [X,2]", "tails":[1, 6], "f":{} }, +{ "head":11, "rule":"[S] ||| [S,1] [X,2] ||| [S,1] [X,2]", "tails":[5, 6], "f":{} }, +{ "head":12, "rule":"[S] ||| [S,1] [X,2] ||| [S,1] [X,2]", "tails":[9, 6], "f":{} } ] } |