Thesaurus from Dictionary extensions for English on LO 3.6 on linux

I’m using arch linux with the latest LibreOffice 3.6.2.2. This is a new installation so there are no previous settings lying around.

Via the extension manager I installed the dictionary extension from here: http://extensions.libreoffice.org/extension-center/american-british-canadian-spelling-hyphen-thesaurus-dictionaries

Default language for documents is set to English (USA). Spell check is working. But not the thesaurus. Tools->Language shows the Thesaurus option grayed-out, and ctrl+f7 doesn’t do anything.

Which dictionary extension has been installed: “American English - hyphenation, thesaurus, 638,000+ word list”?

Yes. That one.

Q1. - Yes, the language is English (USA).

Q2. - No, there aren’t any other dictionaries. Actually, I’ve been deleting the user folder on linux ($HOME/.config/libreoffice) throughout this testing, and basically installing the dictionary over and over again in order to double check that everything is set up correctly.

As far as I can tell the node is the same:

<node oor:name="ThesDic_en-US" oor:op="fuse">
            <prop oor:name="Locations" oor:type="oor:string-list">
                <value>%origin%/th_en_US_v2.dat</value>
            </prop>
            <prop oor:name="Format" oor:type="xs:string">
                <value>DICT_THES</value>
            </prop>
            <prop oor:name="Locales" oor:type="oor:string-list">
                <value>en-US</value>
            </prop>
        </node>

Update: Found the problem. Arch-linux related, nothing to do with LibreOffice. Packages that enable thesaurus (libmythes) were missing in the installation.

Thanks, a lucid explanation… :slight_smile:

Thank you very much…! The missing package libmythes in Arch Linux did the trick:

[user@box]#>pacman --sync libmythes
[user@box]#>pacman --query --info libreoffice-fresh
Name            : libreoffice-fresh
Version         : 6.4.4-1
...
Optional Deps   : java-runtime: adds java support [installed]
...
                  libmythes: for use in thesaurus [installed]

I installed the dictionary extension "American English - hyphenation, thesaurus, 638,000+ word list"
(LibreOffice 3.6.3.1 RC1 with all bundled dictionaries, on WinXP).

The result

The thesaurus for all English text languages (en-GB en-PH en-ZA en-NA en-ZW en-AU en-CA en-IE en-IN en-BZ en-BS en-GH en-JM en-MW en-NZ en-TT) is no longer available,
except for "en-US = English (USA)".

You can check it via menu "Tools → Options → Language Settings → Writing Aids →
Available language modules → Edit... → Language (drop-down list)"

For the above-mentioned text languages

• menu Tools → Language → Thesaurus is grayed-out

Ctrl+F7 will be ignored.

The thesaurus for text language "en-US" works fine for me.

Question:

Are you sure that your selected text has the attribute "Language: English (USA)"?

You may check it via "Status bar" or menu "Format → Character → Font tab → Language".

The cause

The file "dictionaries.xcu" in the bundled (built-in) dictionary extension "dict-en" has the following "node" for the thesaurus:

    <node oor:name="ThesDic_en-US" oor:op="fuse">
        <prop oor:name="Locations" oor:type="oor:string-list">
            <value>%origin%/th_en_US_v2.dat</value>
        </prop>
        <prop oor:name="Format" oor:type="xs:string">
            <value>DICT_THES</value>
        </prop>
        <prop oor:name="Locales" oor:type="oor:string-list">
            <value>en-GB en-US en-PH en-ZA en-NA en-ZW en-AU en-CA en-IE en-IN en-BZ en-BS en-GH en-JM en-MW en-NZ en-TT</value>
        </prop>
    </node>

That has been replaced by "dictionaries.xcu" of the now installed dictionary extension "kpp-american-english-dictionary-638k", with the following "node" for the thesaurus:

    <node oor:name="ThesDic_en-US" oor:op="fuse">
        <prop oor:name="Locations" oor:type="oor:string-list">
            <value>%origin%/th_en_US_v2.dat</value>
        </prop>
        <prop oor:name="Format" oor:type="xs:string">
            <value>DICT_THES</value>
        </prop>
        <prop oor:name="Locales" oor:type="oor:string-list">
            <value>en-US</value>
        </prop>
    </node>

Additional question:

Do you have installed more dictionary extensions from "American British Canadian - spelling/hyphen/thesaurus dictionaries"?