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

Expand accent support #57

Merged
merged 6 commits into from
Apr 4, 2021
Merged

Expand accent support #57

merged 6 commits into from
Apr 4, 2021

Conversation

ed359
Copy link
Contributor

@ed359 ed359 commented Apr 1, 2021

Increase coverage of accents where precomposed unicode letters exist.

Unicode is quite big and I haven't added everything with a precomposed character, but these additions fix several problems with Polish (a language supported by LanguageTool) and Hungarian (not supported, but Hungarian names get used even when writing other languages).

I've carefully checked that all the code points inserted correspond to the correct thing, but since I'm very new to this code it would be worth checking the surrounding logic carefully. I guess some tests designed to check accent command substitution would be nice, but that's beyond my java skills.

Fixes #56.

@valentjn valentjn added this to the 11.0.0 milestone Apr 4, 2021
@valentjn valentjn self-assigned this Apr 4, 2021
@valentjn valentjn merged commit 90d7e8f into valentjn:develop Apr 4, 2021
@valentjn
Copy link
Owner

valentjn commented Apr 4, 2021

Thanks for the great PR. I looked up every single character in the Unicode table, and all of them were correct.

You don't really need advanced Java skills to add tests, as you can usually just amend one of the existing tests. You just need to know where to look.

@valentjn
Copy link
Owner

valentjn commented Apr 5, 2021

Released in 11.0.0.

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.

Missing accent and special character support
2 participants