Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug on utils.py Neighbors #6

Closed
hereismari opened this issue Feb 14, 2018 · 1 comment
Closed

Bug on utils.py Neighbors #6

hereismari opened this issue Feb 14, 2018 · 1 comment

Comments

@hereismari
Copy link

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

@hereismari hereismari changed the title Bug at utils Neighbors Bug present on utils.py Neighbors Feb 14, 2018
@hereismari hereismari changed the title Bug present on utils.py Neighbors Bug on utils.py Neighbors Feb 14, 2018
@marcotcr
Copy link
Owner

Fixed in 0.0.0.4.
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants