Bug on utils.py Neighbors
hereismari opened this issue · comments
Marianne Monteiro commented
if word.prob < -15:
--> 337 queries += [w]
338 by_similarity = sorted(
339 queries, key=lambda w: word.similarity(w), reverse=True)
NameError: name 'w' is not defined
https://github.com/marcotcr/anchor/blob/master/anchor/utils.py#L337
Marco Tulio Correia Ribeiro commented
Fixed in 0.0.0.4.
Thanks!