diff options
author | Patrick Simianer <p@simianer.de> | 2014-09-27 15:17:43 +0100 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2014-09-27 15:17:43 +0100 |
commit | f65e428784cfd2264f3fdfddd574c37acd38f54f (patch) | |
tree | 6a98f82964cbce52957a2d62f8b2c5b7ff8be095 /test/hypergraph/hg-toy.json | |
parent | f28694f9bdd5059050e420cca2ca2694cbb0dda4 (diff) |
cosmetic changes, bump to 1.1
Diffstat (limited to 'test/hypergraph/hg-toy.json')
-rw-r--r-- | test/hypergraph/hg-toy.json | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/test/hypergraph/hg-toy.json b/test/hypergraph/hg-toy.json new file mode 100644 index 0000000..ab7eefc --- /dev/null +++ b/test/hypergraph/hg-toy.json @@ -0,0 +1,32 @@ +{ +"weights":{ +"Glue":0.0, "logp":2.0, "use_house":0.0, "use_shell":1.0 +}, +"nodes": +[ +{ "label":"root", "cat":"root" }, +{ "label":"0", "cat":"NP" }, +{ "label":"1", "cat":"V" }, +{ "label":"2", "cat":"JJ" }, +{ "label":"3", "cat":"NN" }, +{ "label":"4", "cat":"NP" }, +{ "label":"5", "cat":"VP" }, +{ "label":"6", "cat":"S" }, +{ "label":"7", "cat":"Goal" } +], + +"edges": +[ +{"head":"0", "tails":[ "root" ], "f":{"logp":-0.5, "use_i":1.0}, "weight":0.367879441171 }, +{"head":"1", "tails":[ "root" ], "f":{"logp":-0.25, "use_saw":1.0}, "weight":0.606530659713 }, +{"head":"2", "tails":[ "root" ], "f":{"logp":0.0, "use_small":1.0}, "weight":1.0 }, +{"head":"2", "tails":[ "root" ], "f":{"logp":0.0, "use_little":1.0}, "weight":1.0 }, +{"head":"3", "tails":[ "2" ], "f":{"logp":0.0, "use_house":1.0}, "weight":1.0 }, +{"head":"3", "tails":[ "2" ], "f":{"logp":0.0, "use_shell":1.0}, "weight":2.71828182846 }, +{"head":"4", "tails":[ "3" ], "f":{"logp":0.0, "use_a":1.0}, "weight":1.0 }, +{"head":"5", "tails":[ "1","4" ], "f":{"logp":0.0}, "weight":1.0 }, +{"head":"6", "tails":[ "0","5" ], "f":{"logp":0.0}, "weight":1.0 }, +{"head":"7", "tails":[ "6" ], "f":{}, "weight":1.0 } +] +} + |