Bug 146903 - kword and kpresenter spell checkers do not work on words with apostrophes in them
Summary: kword and kpresenter spell checkers do not work on words with apostrophes in ...
Status: RESOLVED FIXED
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: kspell (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Zack Rusin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-17 23:45 UTC by Patrick
Modified: 2016-03-03 13:44 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
An apostrophe between two letters should be treated as part of the word (1.50 KB, patch)
2008-07-27 20:03 UTC, Goran
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick 2007-06-17 23:45:01 UTC
Version:           1.6.2 (using KDE 3.5.6, Kubuntu (feisty) 4:3.5.6-0ubuntu14)
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.20-16-generic

When typing in KWord or KPresenter, words such as "didn't" and "I've", which have apostrophes in them, are picked up as misspellings by the spell checker.

The spell checker seems to think that the word ends at the apostrophe, and ignores the part afterwards, rather than treating the apostrophe and the letters that succeed it as part of the same word.

For example, when I type "didn't", the autospellcheck underlines "didn" as a misspelling, and ignores "'t".

The spell checker offers "didn't" as a correction for "didn", but choosing it simply results in "didn't't", which in turn comes up as a misspelling that would correct to "didn't't't" and so on. The fact that the spell checker recognizes that "didn't" is a word, makes it all the more irritating.

The bug occurs in both the inline spell checking and the spell checking dialog.

I am unable to think of other, non alphabet characters that words can have in them in order to test whether this affects them or just apostrophes.

I have tried both Aspell and Ispell, both of which yield the same problem.

I am using the standard KOffice package from the Kubuntu package repository, to which I have made no modifications. The bug has occurred from the first time I tried KWord onwards.
Comment 1 Thomas Zander 2007-12-23 11:29:12 UTC
really a sonnet/kspell bug, but they don't seem to have a product entry.
Comment 2 Goran 2008-07-27 20:03:40 UTC
Created attachment 26441 [details]
An apostrophe between two letters should be treated as part of the word
Comment 3 ernest bywater 2008-07-28 02:24:33 UTC
An apostrophe between two letters frequently forms part of a word, the two most common situations being a valid multi word contraction and a possessive noun, the common contractions should be in the basic English lists. Since they have a French dictionary and the French often use an apostrophe between letters in words, I wonder if this is also a problem for them too.
Comment 4 Christoph Feck 2009-12-09 21:01:08 UTC
As I understand it, this is fixed by a recent commit. Can you check 4.4 beta2 when it is available?