Issue 48060 - "2nd" misspelled in US dictionary; 1st,2nd,3rd,4th misspelled in UK dictionary
Summary: "2nd" misspelled in US dictionary; 1st,2nd,3rd,4th misspelled in UK dictionary
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: spell checking (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: stefan.baltzer
QA Contact: issues@lingucomponent
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-24 14:55 UTC by ezza
Modified: 2013-02-24 20:43 UTC (History)
2 users (show)

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


Attachments
test data (9.07 KB, application/vnd.sun.xml.writer)
2006-02-09 00:26 UTC, nemeth.lacko
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description ezza 2005-04-24 14:55:13 UTC
Type following into a writer document, and have autospellcheck enabled:

1st 2nd 3rd 4th 5th

If you are using US dictionary, the "nd" in "2nd" will be highlighted as misspelled.
Worse, if you use the UK dictionary, ALL the of "st","nd","rd","th" will be
considered misspelled. The "misspelling" of "st" in the UK dictionary also means
that street addresses like "1 smith st" will be considered misspelled.

This bug is not present in 1.1.4 or 1.02 (tested US dictionary only in 1.02), so
is a regression. Bug was also present in OO 2.0 Beta.

Also, I tried turning off the autocorrect "Replace 1st... with 1^st..." that
normally turns the "nd" into super-script but that didn't make a difference
(didn't think it would but..). (incidentally, I think that display in the
Autocorrect options is wrong, it should actually look like superscript - should
I file a separate bug on that?)

Assuming Platform:All / OS:All though only tested on intel/win98SE.
Comment 1 nemeth.lacko 2006-02-08 09:54:47 UTC
Fixed in CWS ooo202dicts02 and CWS hunspell01 with a lexical scanner implemented
with Hunspell's COMPOUNDRULE feature (see the new en_US.aff and en_US.dic).

good: 1st 2nd 3rd 4th 10th 11th 12th 13th 20th 21st 22nd 23rd 24th 100th
121345211st 232323rd 232367th 
bad: 1rd 1nd 1th 2rd 2st 2th 3st 3nd 3th 11st 11rd 11nd 12st 12nd 12rd 12th
111st 1311313rd 
Comment 2 nemeth.lacko 2006-02-08 09:55:10 UTC
.
Comment 3 nemeth.lacko 2006-02-08 10:19:42 UTC
Targeted to 2.0.2.
Comment 4 timar74 2006-02-08 19:45:40 UTC
The issue has been fixed for en-US, however, using the en-UK dictionary the word
"12th" is underlined with red. Therefore REOPEN.
Comment 5 nemeth.lacko 2006-02-09 00:25:14 UTC
nemeth->timar: en_GB is OK. Thanks for the bug report! I attach some test data.
Comment 6 nemeth.lacko 2006-02-09 00:26:44 UTC
Created attachment 33980 [details]
test data
Comment 7 stefan.baltzer 2006-02-09 16:50:46 UTC
SBA: Thanks for the test data document. This will ease re-verification after CWS
integration. Verified in CWS ooo202dict02.
Comment 8 stefan.baltzer 2006-02-14 16:25:03 UTC
SBA: OK in OOB680_m1 Build 9006. Closed.