Skip to content

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

Merged
semilin merged 1 commit intosemilin:mainfrom
nxtk:main
May 2, 2024
Merged

Fix for scoring issues caused by incorrect multi-byte character indexing.#21
semilin merged 1 commit intosemilin:mainfrom
nxtk:main

Conversation

@nxtk
Copy link
Copy Markdown
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
Copy Markdown
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