DocumentServer
DocumentServer copied to clipboard
Spellcheck not seeing '-'
This issue is unique.
- [X] I have used the search tool and did not find an issue describing my bug.
Operating System
Linux (DEB package)
Version information
8.0.1.31
Expected Behavior
German spellcheck can see the whole word including a trailing -
character
Actual Behavior
It just keeps adding - and not seeing any existing -
Reproduction Steps
- Set spellcheck to "Deutsch (Schweiz)"
- Write something like "Kommunikations-"
- Correct it with spellcheck to what you already wrote
- See it still underlined, now with two trailing "-"
Additional information
No response
@moritz-t-w, hello! I'm collecting issues related to multi-language documents, not affiliated with Only Office, mind you. Since you reported an issue involving various languages, I thought about sharing them with you. In my view the most annoying is inability to limit list of laguages.
- https://github.com/ONLYOFFICE/DesktopEditors/issues/802
- https://github.com/ONLYOFFICE/DesktopEditors/issues/273
- https://github.com/ONLYOFFICE/DocumentServer/issues/2142
- https://github.com/ONLYOFFICE/DesktopEditors/issues/626
- https://github.com/ONLYOFFICE/DesktopEditors/issues/527
- https://github.com/ONLYOFFICE/DesktopEditors/issues/437
- https://github.com/ONLYOFFICE/DesktopEditors/issues/356
- https://github.com/ONLYOFFICE/DesktopEditors/issues/224
- https://github.com/ONLYOFFICE/DocumentServer/issues/576
- https://github.com/ONLYOFFICE/DesktopEditors/issues/1449
- https://github.com/ONLYOFFICE/DocumentServer/issues/2140
- https://github.com/ONLYOFFICE/DocumentServer/issues/2326
- https://github.com/ONLYOFFICE/DesktopEditors/issues/1223
- https://github.com/ONLYOFFICE/DesktopEditors/issues/1124
@HectorB-2020 This issue happens in single language docs too
Hello @moritz-t-w Please tell me, in this situation, is the “-” symbol at the end of a word part of the word? Could you explain to me a little more what the correct spell check behavior would be in this situation?
So in german you can shorten something like this
The foreground and the background
To this
The fore- and background
So the correction it's suggesting is correct, the problem is just that it doesn't take the - into account when generating corrections.
So in german you can shorten something like this
The foreground and the background
To this
The fore- and background
So the correction it's suggesting is correct, the problem is just that it doesn't take the - into account when generating corrections.
So after selecting the word "Kommunikations-" correction, the result should be that the word is no longer underlined in red and there should be only one dash left after the word, right?
So after selecting the word "Kommunikations-" correction, the result should be that the word is no longer underlined in red and there should be only one dash left after the word, right?
Yes and if I wrote "Komunikations-" (with a typo) it should correct that to "Kommunikations-" aswell, again taking the "-" into account
So after selecting the word "Kommunikations-" correction, the result should be that the word is no longer underlined in red and there should be only one dash left after the word, right?
Yes and if I wrote "Komunikations-" (with a typo) it should correct that to "Kommunikations-" aswell, again taking the "-" into account
Sorry, I have one more question. Did I understand correctly that the word "Kommunikations-" that you wrote in Reproduction Steps is written correctly and therefore it should not have been emphasized as incorrect at all? the same goes for other grammatically correct words with a hyphen at the end
Did I understand correctly that the word "Kommunikations-" that you wrote in Reproduction Steps is written correctly and therefore it should not have been emphasized as incorrect at all? the same goes for other grammatically correct words with a hyphen at the end
Yes.
Hello @moritz-t-w Thanks for your help, everything is clear to me now. I can confirm this is a bug, so I've created issue #67144. Have a good day!
The issue is actual in DocumentServer.