Skip to content
Snippets Groups Projects
Commit 3f8469fb authored by Franck Dary's avatar Franck Dary
Browse files

Added generation of XPOS tagging action set

parent 67f6a10c
No related branches found
No related tags found
No related merge requests found
......@@ -45,6 +45,15 @@ if __name__ == "__main__" :
print("WRITE b.0 POS " + striped, file=output)
output.close()
elif nameCol == "XPOS" :
output = open("taggerx.as", 'w', encoding='utf-8')
for line in open(colFile, "r", encoding='utf-8') :
striped = line.strip()
if len(striped) == 0 :
continue
print("WRITE b.0 XPOS " + striped, file=output)
output.close()
elif nameCol == "MORPHO" :
output = open("morpho_whole.as", 'w', encoding='utf-8')
for line in open(colFile, "r", encoding='utf-8') :
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment