Issue 37203 - Thesaurus only offers all-uppercase synonyms for all-uppercase words
Summary: Thesaurus only offers all-uppercase synonyms for all-uppercase words
Status: CONFIRMED
Alias: None
Product: General
Classification: Code
Component: thesaurus (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All All
: P4 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-15 20:31 UTC by ooolist2007
Modified: 2017-05-20 10:55 UTC (History)
5 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description ooolist2007 2004-11-15 20:31:17 UTC
If a word is spelled with all uppercase letters, e.g. "BRD" (German acronym), 
the thesaurus turns all its synonyms into all uppercase words, too. In this 
case it suggests "BUNDESREPUBLIK DEUTSCHLAND", although the thesaurus files 
contain the correct spelling "Bundesrepublik Deutschland". 
 
There might be cases where this is a feature, but IMHO more often it's a bug, 
as words that are spelled with all uppercase letters are often acronyms and it 
doesn't make sense to spell their synonyms in all uppercase.
Comment 1 ooolist2007 2004-11-16 19:36:07 UTC
The problem seems to be around line 417 in 
lingucomponent/source/thesaurus/libth/thesimp.cxx: 
 
case CAPTYPE_ALLCAP: 
{ 
                 cTerm = makeUpperCase(sTerm, pCC); 
                 break; 
}  
 
I suggest to simply remove this case statement. 
 
 
Comment 2 milek_pl 2007-10-11 18:00:25 UTC
setting to patch, as we have a solution here
Comment 3 nemeth.lacko 2007-10-12 00:30:59 UTC
We need to check the casing in the thesaurus, and occasionally switch off the
uppercasing (i. e. don't uppercase the synonyms of acronyms and other uppercase
words in the thesaurus).

Milek_pl, Dnaber: Now I'm on the issue list and plan a bigger thesaurus patch
this year. Thanks for your comments.

Comment 4 Mathias_Bauer 2008-01-07 11:00:27 UTC
any news? The last 2.x version has code freeze soon.
Comment 5 nemeth.lacko 2008-01-07 13:20:42 UTC
New target: 3.0
Comment 6 Martin Hollmichel 2008-09-01 13:56:54 UTC
set target 3.x
Comment 7 thomas.lange 2010-08-27 08:45:30 UTC
I just checked this one with en-US and "USA" and German and "BRD". It seems to
have been fixed by now. If that is truly the case please close this one. Thanks!
Comment 8 ooolist2007 2010-08-27 21:19:42 UTC
Testing with OOO330m3 (build:9519): "BRD" still gives "BUNDESREPUBLIK" as a
synonym (but also "Bundesrepublik Deutschland").
Comment 9 thomas.lange 2010-08-31 10:14:25 UTC
Ok, I was taken in a by the entry "Bundesrepublik Deutschland" and believed it
was because of some inner logic, but it was just the entry for this example. :-/
Comment 10 Marcus 2017-05-20 10:55:58 UTC
Reset assigne to the default "issues@openoffice.apache.org".