Issue 22033 - Spell checker change word starting with a capital letter to lowercase
Summary: Spell checker change word starting with a capital letter to lowercase
Status: CLOSED NOT_AN_OOO_ISSUE
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: OOo 1.1
Hardware: PC Windows XP
: P4 Trivial (vote)
Target Milestone: ---
Assignee: khendricks
QA Contact: issues@sw
URL:
Keywords:
: 58081 62558 65269 (view as issue list)
Depends on:
Blocks:
 
Reported: 2003-11-02 19:48 UTC by 3clips3
Modified: 2013-08-07 14:41 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description 3clips3 2003-11-02 19:48:50 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
Comment 1 utomo99 2003-11-12 09:17:49 UTC
change summary for easier to understand
Comment 2 thomas.lange 2003-11-12 11:09:17 UTC
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.


Comment 3 khendricks 2003-11-12 15:10:26 UTC
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.

Comment 4 3clips3 2003-11-12 20:59:46 UTC
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-
Comment 5 jack.warchold 2004-01-16 10:07:37 UTC
reassigend to jw

i wrote a mail to the owner of the polish l10n component, maybe he can help 
here.
Comment 6 sajer 2004-02-19 11:45:49 UTC
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).
Comment 7 jack.warchold 2004-02-20 11:42:22 UTC
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
Comment 8 jack.warchold 2004-02-20 11:43:27 UTC
.
Comment 9 thomas.lange 2004-03-08 11:51:26 UTC
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.
Comment 10 khendricks 2004-03-08 12:39:04 UTC
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 
  
Comment 11 thomas.lange 2004-03-08 13:04:47 UTC
Does the dictionary author have an OOo account?
That is can you assign this issue to him?
Comment 12 khendricks 2004-03-08 14:51:32 UTC
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 
 
 
 
Comment 13 Martin Hollmichel 2005-01-17 13:31:18 UTC
close issue.
Comment 14 lars 2006-01-21 15:18:36 UTC
*** Issue 58081 has been marked as a duplicate of this issue. ***
Comment 15 lars 2006-02-25 11:45:39 UTC
*** Issue 62558 has been marked as a duplicate of this issue. ***
Comment 16 lars 2006-05-11 11:35:15 UTC
*** Issue 65269 has been marked as a duplicate of this issue. ***