https://bugs.documentfoundation.org/show_bug.cgi?id=164062
Bug ID: 164062
Summary: Spellcheck: Words ending in hyphen are not recognized
Product: LibreOffice
Version: Inherited From OOo
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: LibreOffice
Assignee: [email protected]
Reporter: [email protected]
Description:
At least in Danish, there are some phrases where a word will only be valid if
ending in a hyphen. As an example, the English phrase "child and youth
hospital" will in Danish be "børne- og ungehospital", where "børne-" is valid,
but "børne" without a hyphen is not valid. The Danish dictionary takes this
into account (checked with Hunspell), but LO does not recognize this
construction.
Guess: Likely, LO removes a trailing hyphen before presenting Hunspell with the
word. At least, that would be consistent with the seen behaviour, as Hunspell
would only see "børne", even when "børne-" was written.
Steps to Reproduce:
1. Open the example file, which includes a description in English and examples
in Danish.
2. If the Danish dictionary is not installed, install it from the LO
installation or from the extensions repository.
3. See which words are reported as misspelled.
Actual Results:
Words like "børne-" and "arbejds-" are reported as misspelled, even though they
are correct. The check-words without hyphen, "børne" and "arbejds" are indeed
wrong. (If no words are reported wrong, you do not have the Danish dictionary
installed.)
Expected Results:
The words "børne-" and "arbejds-" should be considered correct.
Reproducible: Always
User Profile Reset: No
Additional Info:
This is old behaviour, present at least as early as LO 3.6, and probably
inherited from OOo. The use of hyphens in this way come from compound words
with "fugeelements". Likely, similar examples can be found for German.
--
You are receiving this mail because:
You are the assignee for the bug.