Repository navigation
Correct the N-Gram example distances - #71
Open
gezerui888 wants to merge 1 commit into
Open
gezerui888 wants to merge 1 commit into
gezerui888 wants to merge 1 commit into
Conversation
Author
|
@tdebatty, could you review the corrected N-Gram example distances and approve the pending CI run? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 verifyon JDK 11, 17, 21, and 25. All 40 tests passed on each version.Fixes #53
cc @tdebatty