2 Used to process the QNLP SQLite DB output. 3 Script remains but methods are largely unused. 9 if __name__ ==
"__main__":
10 if len(os.sys.argv) < 2:
11 raise(
"Please specify the path to basis words as arg 1, corpus as arg 2, and processing mode as arg 3")
12 BasisPath = os.sys.argv[1]
13 CorpusPath = os.sys.argv[2]
15 if len(os.sys.argv) == 4:
16 proc_mode = os.sys.argv[3]
20 run(BasisPath, CorpusPath, proc_mode, db_name=
"qnlp_tagged_corpus")
def run(BasisPath, CorpusPath, proc_mode=0, db_name="qnlp_tagged_corpus")