Registered Member
|
Automatic language detection may be one solution, but this often fails, and even if the algorithm is really good, one can always cook-up a situation that will make it fail. A (trivial) solution would be to offer a choice of languages. Currently, one can select alternative languages in the spell-checking pop-up dialog, but one has to then close the pop-up and then re-select spell checking to re-start the process using the new choice. This is a `bug' that can be fixed. Perhaps an enhancement would be to offer the choice directly on the spell-checking button with a drop-down menu, by clicking and holding. This should be fairly easy to add... Thanks Alan |
Registered Member
|
Why in the world would you use a French keyboard? It is the most inconvenient layout ever imagined, especially for the unix world, TeX and programming in general. |
Registered Member
|
The auto-detection algorithm is quite easy. just pass a chunk of text (say 100 words) to the spell-checker for each language, and language with the least errors will be the one. When there are too few words, then auto checking would be disabled. Or better, break the text into segments, like sentences and pass each one to the spellchecker, so it works for mixed language texts. Passing a segment of text to the spellchecker for two or three languages would be negligible performance wise when typing. Would probably be noticeable in big texts, but then spellchecking big texts could be done lazily. +1 ou in the right click menu of any text field where it should be. |
Registered Member
|
Correction: this *was* a bug that has been fixed, perhaps for some time... I have be so conditioned to closing and restarting the spell-checker upon changing the choice of language that I had not noticed that a restart is no longer necessary. |
Registered Member
|
Hello,
Thabo here. That's cool. It will be more useful. _____________________ canada pharmacycanadian pharmacies canadian pharmacyonline prescriptions |
Registered Member
|
What I would like to see is Sonnet2 getting into KDE as it was planned for KDE4, before its developer disappeared without any trace (sic!).
Sonnet2 was brilliant in the way that it would detect the language of each individual work and sentence and apply the correct spell checker to it automatically. I remember reading that the guy made it so good that it could guess the language of a word already after three letters. Now if any of the code was publicly available and anyone would be willing to take over that project, it would be awesome! But alas, from what I know, it's lost.
It's time to prod some serious buttock!
|
Registered users: Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]