Ubuntu QA:
BlogBrainstorm
Log in
Ubuntu QA
The Ubuntu community has contributed 12252 ideas, 57766 comments, 1176667 votes

Idea #10469: OpenOffice spellcheck should autodetect language used



up
132
down
Written by hunt.topher the 29 Jun 08 at 16:42. Category: Office.
Related to: OpenOffice.org Word Processor. Status: New
Description
OpenOffice is a pretty flexible office suite but it's annoying to me when I'm writing a document with multiple languages in it and I need to specify the language of each paragraph for the spellchecker. Fortunately this is easy to do (in the right-click context menu) but I would love it if OpenOffice could automatically detect what language it should use to spellcheck each paragraph.

One approach: if the spellchecker notices that a given paragraph has an unusual number of errors (say, more than 50% of the words are caught by the spellchecker), it can check its installed langauges lists to see if the sentence gets less errors in any other languages. If so, switch the style of that paragraph / section to spellcheck in that language.

Attachments
No attachments.


Duplicates


Comments
Warbo wrote on the 29 Jun 08 at 20:05
KDE4's Sonnet can apparently do this ( http://en.wikipedia.org/wiki/Sonnet_(KDE) ).

Maybe there should be a standard way of interacting with spell checkers (like XESAM for desktop search) and defaults could be set in the alternatives system?

Angelos72 wrote on the 30 Jun 08 at 15:33


The easiest thing to do is detect the language from the keyboard layout you are using.

For example I write in English (OO uses English dictionary), I switch keyboard layout to Greek (OO switches to Greek dictionary automatically).

Apparently this is already working in the Windows version and it's hard to implement in Linux.

See the corresponding request at the OpenOffice site

http://qa.openoffice.org/issues/show_bug.cgi?id=1035

especially the part that says about the "...xorg guys to add a langage info in addition...", whatever that means :-)

This is definitely a serious ISSUE for multi-lingual writers, especially with non-latin characters.

Big +1 from me!

rakudave wrote on the 1 Jul 08 at 04:55
I would not make it dependant on the keyboard layout.
many (european) languages use the same character set and do not require a different layout.

The 50%++ errors seems a better approach

Angelos72 wrote on the 1 Jul 08 at 08:00
If one follows the thread at the openoffice forum

http://qa.openoffice.org/issues/show_bug.cgi?id=1035

one would see that the feature should actually be selectible.

I see the benefit of auto-detection for non English speaking countries with Latin alphabets.

However, for countries with non-Latin alphabets (Greek, Cyrillic, who knows what else...), language detection by keyboard layout is simple and incredibly efficient.

It's a definite "must" for people who write in (say) Russian and occasionally write a word of terminology in English (which is quite common actually).



rakudave wrote on the 3 Jul 08 at 06:44
also on unix?

skimming over the thread, they couldn't do it on unix...
language-awareness is the solution


Post your comment