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

Fix for scoring issues caused by incorrect multi-byte character indexing. #21

Merged
merged 1 commit into from
May 2, 2024

Conversation

nxtk
Copy link
Contributor

@nxtk nxtk commented May 2, 2024

Fix for scoring issues caused by incorrect multi-byte character indexing in a trigram string.

@semilin
Copy link
Owner

semilin commented May 2, 2024

Good catch! I wasn't aware of Go's string indexing behavior. I'll also consider rewriting some structures so that this conversion step isn't needed each time. Thanks for the PR :)

@semilin semilin merged commit eb03f72 into semilin:main May 2, 2024
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.

2 participants