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

High similarity result #10

Open
raquelhortab opened this issue May 8, 2024 · 1 comment
Open

High similarity result #10

raquelhortab opened this issue May 8, 2024 · 1 comment

Comments

@raquelhortab
Copy link

Hi, I am getting a suspiciously high similarity value for these strings:

3:Númenor Aragorn The Shire usher1b
4:Rivendell Elrond Mordor usher2
5:mordor Sauron mordor usher1a
7:Minas Tirith Faramir Lorien usher1B
8:Lorien Haldir minas tirith usher2B
2:The Shire Bilbo The Shire Usher2A
3:Númenor Aragorn The Shire usher1b
4:Rivendell Elrond Mordor usher2
5:mordor Sauron mordor usher1a
7:Minas Tirith Faramir Lorien usher1B
8:Lorien Haldir minas tirith usher2B

the cosine similarity is 0.991, although a whole line is missing from the first string, is this really the expected result?

@mhutter
Copy link
Owner

mhutter commented May 21, 2024

Given the length of the strings, a high similarly is expected. 0.991 indeed seems absurdly high. However, I could not say whether this is correct or not; It's almost a decade ago that I wrote this code, and I have not worked with it since

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