To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=49897





------- Additional comments from [EMAIL PROTECTED] Thu Jan 19 02:28:49 -0800 
2006 -------
For the problem with "Look l am hewe..." being displayed messed up in the dialog
I have submitted issue 60810.

Hewe being accepted in "Look Hewe l am." is because in OOo spellchecking is
still word based. There is no way to know that here Hewe was inside of a
sentence and thus should have written in lowercase.
In general: if a word is wrong only because it is written in uppercase (i.e. the
spellchecker returns the specific type SpellFailure::CAPTION_ERROR and the and
the start with a uppercase letter) we allow for it because it just might be that
this is a word at the start of a sentence. Handling it this way seemed much
better than having almost every word at the beginning of a sentence marked as 
wrong.

The other issue related to the described problem is that because of
abbreviations like "e.g." that should be recognized by the spellchecker as being
correct the "." character does not function as a word brekak in general (in the
end this is language dependend and depends on the respective implementation of
the breakiterator).
Because of this at the end of a sentence the following "." character is included
as part as word that is being passed on to the spellchecker.

Since usually the dictionary entries have not that additional character the
process to check words should include the following as part of the process:
- check if the word is correct as it was written (thus having "e.g." being
accepted for 
  example).
- if the word is not accepted but it ends with "." strip all (possibly multiple)
"." 
  characters from the word before checking it again. But remember what you 
exactly
  have cut off at the end.
  If the word is accepted now we consider everything being Ok.
  If not we now need to retrieve the suggestions for the misspelled word and 
  append the previously stripped "." characters at the end.

I'm not to sure if the appending at the end is really necessary since I think in
the code for the UI there was some part that tried to deal with this problem (at
least if it is only one ".") But even if there is such code it should be alright
with the spellchecker adding the previously cut off "." characters. If not I
would consider it being a bug in that part of the code and you should just drop
me a note and I will see how it should/can be fixed.



---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to