Apache OpenOffice (AOO) Bugzilla – Issue 22033
Spell checker change word starting with a capital letter to lowercase
Last modified: 2013-08-07 14:41:36 UTC
1. write a misspelled word starting with a capital letter 2. use right mouse button to select a correct form from dictionary 3. the correct word will be started with a lowercase
change summary for easier to understand
Please give an example. If the correct word starts with lowercase it can't be helped. Even if the wrong word is at the beginning of a sentence since that information is not available to the spellchecker because spellchecking is currently word based and not sentence based.
Hi, Also check what language. Numerous dictioanry authors have not added capital letters to the TRY string in the aiffix files of those languages which can prevent some good suggestions from being made. That issue needs to be brought to the attention of the specific dictionary author. Kevin adding myself to CC on this and eagerly awaiting example case to test with.
The language is Polish, I have no problem with English dictionaries. I used the dictionary from http://lingucomponent.openoffice.org/download_dictionary.htmls (I have also tried an automated installer). The problem is that after suffering from this problem for quite a long time it vanished after reinstalling OO.org. I changed dictionary.lst - maybe this was the solution. Now it looks like that: DICT pl PL pl_PL DICT en US en_US HYPH en US hyph_us HYPH pl PL hyph_pl THES en US th_en_US and everything works fine. I'm not exactly sure what's going on with this "TRY" in pl_PL.aff, but it consists only lowercase letters: TRY aioez±ęłńżĽÂ¶ćóunrwcsptkmdljbhf-
reassigend to jw i wrote a mail to the owner of the polish l10n component, maybe he can help here.
OOo 1.1.1b and all versions I tried it on. I enter the first word in a document, spelling it incorrectly. The word is of course capitalized. I run a spell check (Danish dictionary) and it suggests the correctly spelled word. I choose it and select OK. Writer replaces the capitalized word with the correct word, but this word is all in lowercase! My Spell does not check if the word SHOULD be capitalized; the first word in a sentence should be capitalized, and if it is, it should not be changed to lowercase just becuase the word in the dictionary is. This problem is not an issue in StarOffice (that uses a commercial spell checker).
confirmed this on OOo 1.1.0 and 1.1.1b after talking to sb reassigned to tl because this issue does not occur in the staroffice spellchecker this should be fixed in the OOo spellchecker too. we aggree in the oppinion of sajer that a first word in e sentence should still be capitalized after spellchecking
.
TL->Kevin: SO spellchecker seems to take the capitalization of the misspelled word into account. Maybe it is a good idea to check the capitalization of the misspelled word and if it is capitalized to provide the first two or three suggestions in both flavors if they are non-capitalized. Otherwise the only way I currently see how this can be solved is when we have a sentence based spellchecking API.
Hi, This is frustrating. As I said earlier, this is an issue for the dictionary author (but no one seemed to want to actually read what I wrote in that issue). This problem does NOT exist in OOo 1.1.1 in any language that has a properly set up affix file (this includes English and many other languages). So this means that the Polish dictionary is simply not correct. Its TRY string is simply missing capital letters. So I am now closing file the issue as invalid. Simply contact the author of the Polish dictionary (there is a README and contact information for the author with each dictionary) and ask them to fix their .aff file. I can not fix this from within OOo since the author of the dictionary itself controls what letters he/she would like to be used when trying to reform mispelled words. That is one of the duties point of the affix file. Kevin
Does the dictionary author have an OOo account? That is can you assign this issue to him?
Hi, AFAIK, no. Not many of them since they are not included directly into OOo (ie.. most are GPL). Since the reporter did not bother with the README, here is that information: --snip-- English: ======== This dictionary contains more than 2.9 million contemporary Polish words for use in spell-checking. It is being actively developed by a handful of people with help of a large community of literaki players (literaki is a popular Polish crossword game). The dictionary is licensed under a Creative Commons ShareAlike License (see http://creativecommons.org/licenses/sa/1.0) which is a GPL equivalent for non-software works (i.e. textual, audio, visual etc.). Creative Commons licenses are recommended by the Free Software Foundation for types of works other than software and documentation (see http://www.fsf.org/licenses/licenses.html#OtherWorks) This version of the dictionary was generated on 2003-10-15 You can find the most up-to-date version at: http://www.kurnik.pl/dictionary/ The dictionary is maintained by Marek Futrega (futrega@mimuw.edu.pl) --snip-- It is also repeated in Polish as well. So will someone who speaks Polish or at least uses the Polish dictionary please first check out and test the very latest version of the dictionary from the website he posted in his README. If the problem still exists, simply e-mail tha maintainer and point them to this issue and explain that capital letters should probably be added to his TRY string in the affix file (or better yet provide a nice patch to add Capital letters to the TRY string for them to include). I simply cannot support all of the contributed dictionaries. That is why there is a README that explicly should list list the license and the maintainer to contact if you find a bug. Hope this helps, Kevin
close issue.
*** Issue 58081 has been marked as a duplicate of this issue. ***
*** Issue 62558 has been marked as a duplicate of this issue. ***
*** Issue 65269 has been marked as a duplicate of this issue. ***