Issue 2641 - Spell checker doesn't work for words that end in apostrophe t.
Summary: Spell checker doesn't work for words that end in apostrophe t.
Status: CLOSED FIXED
Alias: None
Product: Build Tools
Classification: Code
Component: code (show other issues)
Version: 641
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: Unknown
QA Contact: issues@tools
URL:
Keywords:
: 3416 (view as issue list)
Depends on:
Blocks:
 
Reported: 2001-12-26 17:23 UTC by andrig
Modified: 2002-06-04 14:31 UTC (History)
2 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 andrig 2001-12-26 17:23:31 UTC
Words like doesn't, couldn't, shouldn't and wouldn't all get flagged by the
spell checker as being misspelled.  This behavior doesn't seem to apply to all
words with apostrophes, only the ones ending in 't.  The spell check dialog that
pops up, shows the words as doesn, couldn, shouldn and wouldn respectively.  As
you can see it is not including the 't in the word for some reason.  If you need
any more information, just let me know.
Comment 1 Unknown 2002-01-08 15:43:21 UTC
Kevin, do you have any ideas on that? 
Comment 2 khendricks 2002-01-08 16:09:45 UTC
Hi Armin,

This is a known problem in i18n in breakiterator.cxx (see earlier 
issues about spellchecking contractions).  I think Thomas 
Lange knows about this and may already have addressed it but 
the fix is not in OO641C.

Unfortunately, I can not work around this from the OOo myspell 
side of things since all I ever get passed is the "doesn".

The problem is that the breakiterator.cxx code thinks the single 
quote (') terminates a word currently.  I looked at trying to fix the 
i18n code myself but the fix is not easy since there are times 
when a (') single quote should terminate a word.

By the way all of the words couldn't, shouldn't, doesn't, are split 
into shouldn, couldn, doesn which in themselves are not words.  
But contractions like can't, won't, become can and won which are 
words and thus are not marked as misspelled. 

This really needs to be fixed.  It has been around since the OOo
spellechecker first came out.

Hope this helps,

Kevin
Comment 3 Unknown 2002-01-08 16:22:01 UTC
thanks Kevin. I spotted the issue 1982 of which this one is a
duplicate. 
Apparently, this bug should have been fixed in a respin prior to 
the one 641C is based on (namely 'p', 641C is based on 'q' ) - so 
I'm surprised that it is still in. Or is this issue based on the
previous 
build (641B, not 641C) ? Andrig, please let me know. 

Comment 4 khendricks 2002-01-08 16:26:31 UTC
Hi,

I still have this issue in my build of OO641C.

So perhaps a late update to i18n was made I missed?

or 

maybe an update to breakiterator.cxx never got tagged for 
OO641C?

Thanks,

Kevin

Comment 5 andrig 2002-01-09 01:22:27 UTC
Just to let everyone know, I do have this problem in the 641c build.
Comment 6 khendricks 2002-01-09 02:40:07 UTC
Hi,

Just to let you know, Juergen Pingel just commited a fix for this in 
i18n/source/breakiterator/breakiterator.cxx revision 1.12

I rebuilt i18n inside the OO641C tree with this revision and 
installed it and now spell checking of contractions like
doesn't, shouldn't, etc now are properly handled.

Armin you may want to tag breakiterator.cxx 1.12 for the next build 
(whatever that will be called).

I think you can change this to issue to: FIXED 
Thanks,

Kevin


Comment 7 Unknown 2002-01-09 10:18:27 UTC
i18n/source/breakiterator/breakiterator.cxx r1.12 is now on OO641C
branch. 

close issue

Comment 8 khendricks 2002-03-11 01:48:10 UTC
*** Issue 3416 has been marked as a duplicate of this issue. ***
Comment 9 khendricks 2002-06-04 14:31:20 UTC
 closing this one out