Carlos-Francisco Méndez-Cruz

New terminological tagging for CRFs

...@@ -131,6 +131,7 @@ if __name__ == "__main__": ...@@ -131,6 +131,7 @@ if __name__ == "__main__":
131 pos = listLine1[1] 131 pos = listLine1[1]
132 listLine2 = listLine1[2].split(' ') 132 listLine2 = listLine1[2].split(' ')
133 lemma = listLine2[0] 133 lemma = listLine2[0]
134 + print("Word: {}".format(word))
134 if len(word) > 1: 135 if len(word) > 1:
135 for termTag in hashTerms: 136 for termTag in hashTerms:
136 if word in hashTerms[termTag]: 137 if word in hashTerms[termTag]:
......