summaryrefslogtreecommitdiff
path: root/derivation_to_json
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2015-10-30 17:10:51 +0100
committerPatrick Simianer <p@simianer.de>2015-10-30 17:10:51 +0100
commita2f47cce2000cb491b7d7e0a2f1513c176e7f48c (patch)
tree926648f866cf60245aaeed03ae0108143bf4172e /derivation_to_json
parent98db1d870be5d2c75e230933a4a8ff873af98ea0 (diff)
stuff
Diffstat (limited to 'derivation_to_json')
-rw-r--r--derivation_to_json/README2
-rw-r--r--derivation_to_json/example.1.json1
2 files changed, 3 insertions, 0 deletions
diff --git a/derivation_to_json/README b/derivation_to_json/README
new file mode 100644
index 0000000..9aa15a1
--- /dev/null
+++ b/derivation_to_json/README
@@ -0,0 +1,2 @@
+This hack reads cdec's "--show_derivations" into a an object.
+
diff --git a/derivation_to_json/example.1.json b/derivation_to_json/example.1.json
new file mode 100644
index 0000000..ab793c2
--- /dev/null
+++ b/derivation_to_json/example.1.json
@@ -0,0 +1 @@
+{"phrase_alignment":[[0],[1],[2],[3]],"source_groups":["(","ein","test",")"],"target_groups":["(","another","test","level )"]}