office-gobmx/lingucomponent
László Németh 57d79744c7 tdf#136306 offapi linguistic: add options to disable rule-based compounding
Add two new spell checking options to disable rule-based closed
and hyphenated compound word recognition with Hunspell dictionaries:

com::sun::linguistic2::XLinguProperties::IsSpellClosedCompound
com::sun::linguistic2::XLinguProperties::IsSpellHyphenatedCompound

For professional proofreaders, it can be more important to avoid
of the mistakes of the rule-based compound word recognition, than
to speed up proofreading. Disabling the following two new options
will report all rule-based closed compound words (default in
Dutch, German, Hungarian etc. dictionaries) and rule-based
hyphenated compound words (all languages with BREAK usage in
their Hunspell dictionaries):

- "Accept possible closed compound words"

- "Accept possible hyphenated compound words"

For example, disabling the second one, dictionary word "scot-free"
will be still correct word in English spell checking, but not
the previously accepted compound "arbitrary-word-with-hyphen".

Note: the second option works with the update to Hunspell 1.7.2.

Change-Id: Id879610927d5e8269fda5ad207c1c2fe1f57a0b6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144875
Tested-by: Jenkins
Reviewed-by: László Németh <nemeth@numbertext.org>
2022-12-30 11:03:39 +00:00
..
config Revert "Load the locales from config file for languagetool" 2022-06-15 08:27:18 +02:00
source tdf#136306 offapi linguistic: add options to disable rule-based compounding 2022-12-30 11:03:39 +00:00
IwyuFilter_lingucomponent.yaml Recheck modules [i-l]* with IWYU 2022-01-27 18:52:16 +01:00
Library_guesslang.mk WASM --enable-wasm-strip now skips lots of LO code 2022-01-20 12:28:54 +01:00
Library_hyphen.mk Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
Library_LanguageTool.mk LanguageTool Grammar Checker implementation 2022-06-10 13:52:17 +02:00
Library_lnth.mk Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
Library_MacOSXSpell.mk Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
Library_numbertext.mk Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
Library_spell.mk Generally determine Rdb content from gb_*_set_componentfile calls 2021-12-10 08:14:24 +01:00
Makefile
Module_lingucomponent.mk Disable languagetool for WASM build 2022-11-28 16:46:58 +01:00
README.md Fix typo 2021-04-08 17:54:36 +02:00
StaticLibrary_ulingu.mk

Linguistics Components

lingucomponent contains spellcheck, hyphenator, thesaurus, etc.