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

Divide by zero error #28

Closed
aditya9211 opened this issue Sep 21, 2018 · 1 comment
Closed

Divide by zero error #28

aditya9211 opened this issue Sep 21, 2018 · 1 comment
Assignees
Labels

Comments

@aditya9211
Copy link

aditya9211 commented Sep 21, 2018

return intersec / (len(X) + len(Y) - intersec)

Error occurs when using default Jaccard similarity and
when null word is sent (len(X) + len(Y) == intersec)

Please rectify it

@soldni soldni self-assigned this Sep 21, 2018
@soldni soldni added the bug label Sep 21, 2018
soldni pushed a commit that referenced this issue Oct 18, 2018
soldni added a commit that referenced this issue Oct 18, 2018
@soldni
Copy link
Member

soldni commented Oct 18, 2018

Solved in the latest release.

@soldni soldni closed this as completed Oct 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants