Ask Your Question
0

Edit/Customise Spell-checker

asked 2015-07-20 15:46:04 +0200

this post is marked as community wiki

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

I'd like to customise my Spell-check Lexicon/Word List, i.e., add a list of 500 to 1000 Afrikaans and Zulu words as well as unique terms to the spell-checker OR Custom Dictionary so as to avoid having to add each one individually as they occur as possible mistakes. Please advise how I do so in Version: 4.4.4.3; Build ID: 2c39ebcf046445232b798108aa8a7e7d89552ea8; Locale: en_ZA.

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted
0

answered 2016-10-11 08:26:14 +0200

gabix gravatar image

This is relatively easy. Spellcheck dictionaries are plain-text files that can be edited with any good text editor or word processor. So, download and install respective extensions for your languages (installing whole languages packs is overkill for this task), you will have them in

<your user settings directory>/uno_packages/cache/uno_packages/

in a subdirectory with a name like lu2ibkv.tmp_. You will have to know which one is what you need, search files af_ZA.dic and af_ZA.aff for Afrikaans, for example. Then open the .dic file and simply paste all your words there. Ideally, you should also correct the entry count number at the start of the dictionary, but this is not mandatory. If you want to keep your dictionary for further (re)installations or for sharing with others, just replace the existing file with your version in the extension being a mere ZIP file.

edit flag offensive delete link more

Comments

Within this dictionary text document, can words be removed from the list to effectively remove those words from the language dictionary in LO? I want to eliminate certain accepted duplicate spelling versions of words that can be spelled two ways (such as alright from all right) so that one form of this word is always the only accepted version. If I find the word, 'alright,' in that document and remove it, will LO Writer, then, respond to every occurrence of this text as a spelling error?

ux501-fail gravatar imageux501-fail ( 2017-02-25 02:57:24 +0200 )edit

Yes, you can also remove words. However, after that you must completely restart LO. There is also another possibility: create a grammar rule for LanguageTool (or another grammar checker that you might use) to trigger a grammar error alert, but that is trickier.

gabix gravatar imagegabix ( 2017-02-27 14:06:47 +0200 )edit
0

answered 2015-07-20 16:39:31 +0200

Alex Kemp gravatar image

updated 2015-07-20 16:43:46 +0200

This is the downloads page for LO with an Africaans UI (check OS)
This is the Africaans Language-pack (spellcheck) (rpm x86) download

This is the download page for LO with an isiZulu UI (check OS)
This is the isiZulu Language-pack (spellcheck) (rpm x86) download

To add extra words into a dictionary right-click on the word & choose 'add to dictionary'. I do not know of a means to batch-entry a large number.

General language help

If this helps then please tick the answer (✔).

edit flag offensive delete link more

Comments

Do we know where those dictionaries are on the computer ? You could manually edit those files if they're not binary files.

rautamiekka gravatar imagerautamiekka ( 2015-07-20 16:48:32 +0200 )edit

C:\Program Files\LibreOffice 5\share\wordbook on my computer contains dictionaries, but when I add entries into what appears to be a text list, it breaks that dictionary. We probably need advice from experienced programmer to set us on path to modify behavior to allow adding lists.

Jay Othersky gravatar imageJay Othersky ( 2015-11-20 00:52:18 +0200 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2015-07-20 15:46:04 +0200

Seen: 138 times

Last updated: Oct 11 '16