-
-
Notifications
You must be signed in to change notification settings - Fork 109
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
feat: Improve spell checker: use dict bundled in LT, drop jmyspell, and add morfologik #1036
feat: Improve spell checker: use dict bundled in LT, drop jmyspell, and add morfologik #1036
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
13f031d
to
e46cc45
Compare
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
❌ Unit Tests, Quality checks, and Acceptance Tests failed. Please look a Gradle Scan page for details: |
There is unrelated coding style fixes in |
Signed-off-by: Hiroshi Miura <[email protected]>
- Add morfologik spellcheck module - Rename hunspell-jmyspell to hunspell module - Drop jmyspell fallback - ISpellChecker#initialize return boolean Signed-off-by: Hiroshi Miura <[email protected]>
- Add SpellCheckDictionaryType - OConsts: define morfologik dict file extension Signed-off-by: Hiroshi Miura <[email protected]>
4cf054e
to
2295108
Compare
Rebased on master and recreate commits for review. |
Signed-off-by: Hiroshi Miura <[email protected]>
6b28a64
to
4e1eb8c
Compare
Signed-off-by: Hiroshi Miura <[email protected]>
LanguageTool bundles Hunspell dictionary in some languages such as de_DE, too. This revert a feature to import LT bundled dictionary when exists. Signed-off-by: Hiroshi Miura <[email protected]>
Morfologik checker use both *.dict and *.info Signed-off-by: Hiroshi Miura <[email protected]>
Now unit tests are added, then fix several issues. |
Configuration screen is as same as OmegaT 5.8/6.0 but It can handle both Hunspell and Morfologik dictionary; de_DE is Hunspell, en-GB is Morfologik ~/.omegat/spelling$ ls -l
-rw-rw-r-- 1 miurahr miurahr 19214 5月 26 16:23 de_DE.aff
-rw-rw-r-- 1 miurahr miurahr 4868438 5月 26 16:23 de_DE.dic
-rw-rw-r-- 1 miurahr miurahr 718340 5月 26 16:27 en_GB.dict
-rw-rw-r-- 1 miurahr miurahr 506 5月 26 16:27 en_GB.info and en_GB files are automatically copied from LT. |
Unit test cases passed
|
This comment was marked as resolved.
This comment was marked as resolved.
Signed-off-by: Hiroshi Miura <[email protected]>
Signed-off-by: Hiroshi Miura <[email protected]>
Signed-off-by: Hiroshi Miura <[email protected]>
LanguageTool now uses Morfologik as a spell checker engine, and bundles morfologik dictionary.
This improvement support Morfologik spell checker in OmegaT module.
When you run OmegaT on a project that target language is en_AU then you will find you can check spells
with a LT internal dictionary en_AU.dict that is automatically appears in users spell dictionary dir.
Pull request type
Which ticket is resolved?
What does this PR change?
Other information