Skip to content

Correct the N-Gram example distances - #71

Open
gezerui888 wants to merge 1 commit into
tdebatty:masterfrom
gezerui888:docs/ngram-example-distances
Open

gezerui888 wants to merge 1 commit into
tdebatty:masterfrom
gezerui888:docs/ngram-example-distances

Conversation

@gezerui888

Copy link
Copy Markdown

The N-Gram examples show similarity values, but distance() returns a normalized distance. I updated the README and the runnable example to show the distances I got from the two calls, approximately 0.583333 and 0.027778.

I ran the example and mvn clean verify on JDK 11, 17, 21, and 25. All 40 tests passed on each version.

Fixes #53

cc @tdebatty

@gezerui888

Copy link
Copy Markdown
Author

@tdebatty, could you review the corrected N-Gram example distances and approve the pending CI run?

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

Successfully merging this pull request may close these issues.

N-Gram Example Comment Incorrect?

1 participant