Ask Your Question
1

Thesaurus from Dictionary extensions for English on LO 3.6 on linux [closed]

asked 2012-10-15 10:09:14 +0200

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

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.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2015-10-18 16:00:25.329514

Comments

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

manj_k gravatar imagemanj_k ( 2012-10-16 12:02:01 +0200 )edit

Yes. That one.

novica gravatar imagenovica ( 2012-10-16 13:22:16 +0200 )edit

2 Answers

Sort by » oldest newest most voted
1

answered 2012-10-17 09:49:31 +0200

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

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.

edit flag offensive delete link more

Comments

Thanks, a lucid explanation... :)

manj_k gravatar imagemanj_k ( 2012-10-17 10:26:58 +0200 )edit
0

answered 2012-10-16 15:58:25 +0200

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

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"?

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-10-15 10:09:14 +0200

Seen: 1,009 times

Last updated: Oct 17 '12