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

Possible Bug in Dice (and Jaccard) Function #34

Open
momenator opened this issue Aug 16, 2022 · 0 comments
Open

Possible Bug in Dice (and Jaccard) Function #34

momenator opened this issue Aug 16, 2022 · 0 comments

Comments

@momenator
Copy link

Hi,

I tried running the dice function on the sample string

select('euler', 'heuser')

and I got 0 instead of 0.444... as specified in the example.

Using another example

select dice('hello there not', 'hello friend what')

It seems that the dice function computes over the words and not the n-grams specified in the comments. Is this the expected behavior?

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

1 participant