[Libreoffice-bugs] [Bug 91766] Automatic language detection for spell checking
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Mon May 31 13:38:21 UTC 2021
https://bugs.documentfoundation.org/show_bug.cgi?id=91766
--- Comment #18 from Adalbert Hanßen <adalbert.hanssen at gmx.de> ---
Computation time for spell checking in other languages can easily be reduced by
confining it to languages present in the actual document.
Once a particular language has been assigned to a part of the document, it
should be taken into consideration for the next word which would get flagged
with an wiggled underline because of a spell check in the current language.
If such a word would be right in another language, which has been selected in
the same document, it should automatically be flagged to be in the other
language.
To further speed up spell checking:
1. Spell checking should first consider the language at the beginning of a
paragraph.
2. If the last word before the current word was right in another language, it
should then consider the current word to be in that other language. If it is
misspellt, then it should first consider the language of the majority of that
paragraph.
3. If the current word is neither spellt right according to rule 1 nor
according to rule 2, other languages present in the current document should be
checked such that languages with higher content in the current document are
considered first.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210531/c28766cf/attachment.htm>
More information about the Libreoffice-bugs
mailing list