diff options
author | Patrick Simianer <p@simianer.de> | 2014-06-12 14:39:37 +0200 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2014-06-12 14:39:37 +0200 |
commit | e834fd628f61aca04f98691eb56e9808c33c6787 (patch) | |
tree | a22c8f49fae4aff05e896b2b2fb5313d531cc629 /util | |
parent | 7d267062cd109ac27cff8a818ff368b949d7f6a0 (diff) |
cleanup
Diffstat (limited to 'util')
-rwxr-xr-x | util/cdec2json.py (renamed from util/cdec_hg_to_json.py) | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/cdec_hg_to_json.py b/util/cdec2json.py index 2fcc409..76e2cd4 100755 --- a/util/cdec_hg_to_json.py +++ b/util/cdec2json.py @@ -3,10 +3,10 @@ import cdec import sys, argparse + def hg2json(hg, weights): """ output a JSON representation of a cdec hypegraph - (see http://aclweb.org/aclwiki/index.php?title=Hypergraph_Format ) """ res = '' res += "{\n" |