Carlos-Francisco Méndez-Cruz

New terminological tagging for CRFs

......@@ -85,9 +85,11 @@ if __name__ == "__main__":
hashTermFiles = lists["hashTermFiles"]
hashTerms = lists["hashTerms"]
hashTermsOrig = lists["hashTerms"]
hashTermsOrig = {}
for key in hashTermFiles.keys():
if key not in hashTermsOrig:
hashTermsOrig[key] = []
for f in hashTermFiles[key]:
# print('File: ' + f)
with open(os.path.join(options.termPath, f), "r", encoding="utf-8", errors="replace") as iFile:
......