From a2f47cce2000cb491b7d7e0a2f1513c176e7f48c Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Fri, 30 Oct 2015 17:10:51 +0100 Subject: stuff --- derivation_to_json/README | 2 ++ derivation_to_json/example.1.json | 1 + 2 files changed, 3 insertions(+) create mode 100644 derivation_to_json/README create mode 100644 derivation_to_json/example.1.json (limited to 'derivation_to_json') 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 )"]} -- cgit v1.2.3