Commit 4611a91b authored by Tomasz Walkowiak's avatar Tomasz Walkowiak

new version

parent 99c7e165
Pipeline #2565 passed with stages
in 1 minute and 44 seconds
......@@ -43,7 +43,8 @@ class Model:
self.synsets[str(synset)] = (tag, lemma)
else:
if var is not None:
self.variants[lemma.replace(" ","_") + "." + str(var)] = (tag, lemma)
t = lemma.replace(" ", "_") + "." + str(var)
self.variants[t] = (tag, lemma)
else:
self.lemmas[lemma] = tag
wb.close()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment