[Libreoffice-bugs] [Bug 91766] Automatic language detection for spell checking

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Jan 15 17:06:50 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=91766

--- Comment #14 from Adalbert Hanßen <adalbert.hanssen at gmx.de> ---
(In reply to Xisco Faulí from comment #12)
> Changing priority back to 'medium' since the number of duplicates is lower
> than 5

I was just about to make a new proposal but when entering it, I came across
these duplicates. It probably would be better, to add my comment here rather
than adding a new duplicate. Some of my ideas are already in the discussion
above, but there are new ideas which cope with the "costly" argument. So here
we go:

If you want to use the spell checker in a multilingual document, you must
assign the correct languages to the different parts of the document. Without
this step, larger parts of the document would be checked against the spelling
rules of another language, recognized as wrong and therefore highlighted with
red snake lines. 

Editing multilingual texts would become easier if you could tell the spell
checker to check the spelling in all languages for which the correct longpack
is installed. I suggest an additional "Automatic" option for this, which could
be set at Tools>Language>... and Format>Characters>Language.

For a text passage to which this choice applies, LO Writer should check the
text - for example, from the beginning of the sentence (i.e., after the last
period, colon, question mark, exclamation mark, or a quotation mark) against
all languages whose language pack is installed, and it should automatically
assign the language that has the fewest errors in the language used in the
check (minimum of characters to be underlined in red snake in that language).

If the introduction would conflict with the odt file format definition (if that
does not provide a feature for automatic language selection), one could
consider setting the language on the fly during editing to the one until a
sentence is completed (i.e., until one of the punctuation marks mentioned).
Side question: is language actually a property of a character, i.e. a feature
like font size, boldface/slash/underline, color, etc.?

Suggestion on the side: In the spelling correction as an additional choice
another installed language and also "no language check"

-- 
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/20210115/453177a0/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list