Apache OpenOffice (AOO) Bugzilla – Issue 37203
Thesaurus only offers all-uppercase synonyms for all-uppercase words
Last modified: 2017-05-20 10:55:58 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.
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.
setting to patch, as we have a solution here
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.
any news? The last 2.x version has code freeze soon.
New target: 3.0
set target 3.x
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!
Testing with OOO330m3 (build:9519): "BRD" still gives "BUNDESREPUBLIK" as a synonym (but also "Bundesrepublik Deutschland").
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. :-/
Reset assigne to the default "issues@openoffice.apache.org".