-
-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Improve spell checker: use dict bundled in LT, drop jmyspell, a…
…nd add morfologik (#1036) * refactor: spell checker preferences in main module Signed-off-by: Hiroshi Miura <[email protected]> * feat: hunspell and morfologik spellchecker modules - Add morfologik spellcheck module - Rename hunspell-jmyspell to hunspell module - Drop jmyspell fallback - ISpellChecker#initialize return boolean Signed-off-by: Hiroshi Miura <[email protected]> * feat: core/spellcheck recognize morfologik dict - Add SpellCheckDictionaryType - OConsts: define morfologik dict file extension Signed-off-by: Hiroshi Miura <[email protected]> * style: copyright header Signed-off-by: Hiroshi Miura <[email protected]> * feat: add unit tests Signed-off-by: Hiroshi Miura <[email protected]> * feat: hunspell: import LT bundled dic 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]> * fix: morfologik: cp dict and info from LT Morfologik checker use both *.dict and *.info Signed-off-by: Hiroshi Miura <[email protected]> * fix: relax expectation of hunspell unit test Signed-off-by: Hiroshi Miura <[email protected]> * hunspell test case with LT bundled one Signed-off-by: Hiroshi Miura <[email protected]> * feat: hunspell load LT bundled dictionary Signed-off-by: Hiroshi Miura <[email protected]> --------- Signed-off-by: Hiroshi Miura <[email protected]>
- Loading branch information
Showing
42 changed files
with
65,773 additions
and
880 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
69 changes: 0 additions & 69 deletions
69
...checker/hunspell-jmyspell/src/main/java/org/omegat/spellchecker/SpellCheckerJMySpell.java
This file was deleted.
Oops, something went wrong.
74 changes: 0 additions & 74 deletions
74
...hunspell-jmyspell/src/main/java/org/omegat/spellchecker/SpellCheckerLangToolHunspell.java
This file was deleted.
Oops, something went wrong.
56 changes: 0 additions & 56 deletions
56
spellchecker/hunspell-jmyspell/src/main/resources/org/omegat/spellchecker/Bundle.properties
This file was deleted.
Oops, something went wrong.
81 changes: 0 additions & 81 deletions
81
...checker/hunspell-jmyspell/src/main/resources/org/omegat/spellchecker/Bundle_de.properties
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.