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

[pt] Check English words in speller #10529

Merged
merged 2 commits into from
Apr 24, 2024
Merged

Conversation

p-goulart
Copy link
Collaborator

@susanaboatto I've sent you on Slack a sample diff showing the performance of the speller after tagging English words with _english_ignore_. If you need a different test set, do let me know.

@jaumeortola this logic seems to work for me. The one annoying thing about it is that, since we need the English tagger for the filter to work, I cannot add Java tests without making English a dependency. Any ideas? I'd really like to add some proper tests here.

@p-goulart p-goulart changed the base branch from master to pt/dict/v016 April 23, 2024 15:31
@p-goulart p-goulart changed the base branch from pt/dict/v016 to master April 23, 2024 15:33
@p-goulart p-goulart changed the base branch from master to pt/dict/v016 April 23, 2024 15:33
@p-goulart p-goulart marked this pull request as ready for review April 23, 2024 15:34
@jaumeortola
Copy link
Member

@p-goulart You can add tests to https://github.com/languagetool-org/languagetool/blob/master/languagetool-standalone/src/test/java/org/languagetool/JLanguageToolTest.java
That's what we have done in other languages.

@p-goulart p-goulart merged commit 2d16288 into pt/dict/v016 Apr 24, 2024
2 checks passed
@p-goulart p-goulart deleted the pt/dict/v016_english_words branch April 24, 2024 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants