Skip to content

Commit 77f383e

Browse files
committed
Minor updates to header.
1 parent 12eb699 commit 77f383e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/parserindexer/json2csv.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def convert_json_to_csv(jsonfile):
3333
outf = open(outfn, 'w')
3434
print 'Writing to', outfn
3535
# Header
36-
outf.write('# Judgment, Docid, Target, Component, Sentence, URL\n')
36+
outf.write('Judgment, Docid, Target, Component, Sentence\n')
3737

3838
widgets = ['Docs (of %d): ' % ndocs, Percentage(), ' ',
3939
Bar('='), ' ', ETA()]
@@ -85,7 +85,7 @@ def convert_json_to_csv(jsonfile):
8585
targ_name,
8686
r['cont_names'][0],
8787
r['sentence']))
88-
# build URL manually? It's in the doc->url field.
88+
# build URL manually?
8989
pbar.update(i)
9090
i += 1
9191

0 commit comments

Comments
 (0)