Carlos-Francisco Méndez-Cruz

New terminological tagging for CRFs

......@@ -128,10 +128,10 @@ if __name__ == "__main__":
if len(listLine1) < 3:
continue
word = listLine1[0]
print("Word: {}".format(word))
pos = listLine1[1]
listLine2 = listLine1[2].split(' ')
lemma = listLine2[0]
print("Word: {}".format(word))
if len(word) > 1:
for termTag in hashTerms:
if word in hashTerms[termTag]:
......