Apache OpenOffice (AOO) Bugzilla – Issue 48060
"2nd" misspelled in US dictionary; 1st,2nd,3rd,4th misspelled in UK dictionary
Last modified: 2013-02-24 20:43:25 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.
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
.
Targeted to 2.0.2.
The issue has been fixed for en-US, however, using the en-UK dictionary the word "12th" is underlined with red. Therefore REOPEN.
nemeth->timar: en_GB is OK. Thanks for the bug report! I attach some test data.
Created attachment 33980 [details] test data
SBA: Thanks for the test data document. This will ease re-verification after CWS integration. Verified in CWS ooo202dict02.
SBA: OK in OOB680_m1 Build 9006. Closed.