summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rwxr-xr-xutil/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"