blob: 2d62f18b9b213d87851bfa573944106a2131e65e (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/usr/bin/python3
import sys
from study2.document_operations import DocOps
'''
*******************************************************************************
Commands
*******************************************************************************
'''
try:
read_file = str(sys.argv[1])
out_file = str(sys.argv[2])
except:
exit('Example use "python create_dataset.py ../data/lists/human_list_cs_gn.json ../data/dataset/human_cs_gn.json"')
doc_list = DocOps.read_json_document(read_file)
DocOps.combine_responses(doc_list, out_file)
|