diff options
-rw-r--r-- | derivation_to_json/README | 2 | ||||
-rw-r--r-- | derivation_to_json/example.1.json | 1 |
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 )"]} |