First time here? Check out the FAQ!
For simplicity I want to combine 4 custom language .dic files into one file. How can I do this, and what is the limit of entries in a single .dic file in LibreOffice? [I'm using LibreOffice 3.4.4 in Linux Mint 12, Gnome 3.2.1]
If you are referring to user-defined dictionaries "xyz.dic"
(path: .../user/wordbook) in user-editable "OOoUserDict1" format,
e.g. Language English (USA):
OOoUserDict1
lang: en-US
type: positive
---
[...]
(1) Open the "*.dic" files with a text editor, and copy/paste the word lists in a single "sample.txt" file (flat UTF-8).
(2) Sort the content: alphanumeric, ascending (you may use Writer, menu "Tools → Sort").
(3) Add the encoding lines at the beginning ("OOoUserDict1...", see above).
(4) Save the file, rename it to "sample.dic", add "sample.dic" to .../user/wordbook.
(5) Open Writer, check menu `Tools → Options → Language Settings → Writing Aids → User-defined dictionaries → ☑ sample [English (USA)].
See also (OOo) → Bug 106032 - linguistic: make human-readable user-dicts the default format?
As far as I can see in → Bug 48676 - Remove or expand limitation on User dictionary, the limit of entries in a user-defined dictionary has the value 30,000.
EDIT 2012-09-21
Thanks @Yohane,
the dictionary format for "Language: [All]":
OOoUserDict1
lang: <none>
type: positive
---
[...]
Thank you Manj_k, This has worked, and in 5 minutes my four user defined dictionaries were combined into one, and works faster and seems to bring up more complete lists in the correction option pop-up menu. BTW the single new file, has 7,800 entries.
Below is the file format:
OOoUserDict1 lang: <none>
[my list of words are here, A-Z sorted, no spaces allowed, just word and return.] Note lang: <none>
LibreOffice is made available by volunteers around the globe, backed by a charitable Foundation. Please support our efforts: Your donation helps us to deliver a better product!
Asked: 2012-09-20 23:21:54 +0200
Seen: 805 times
Last updated: Sep 21 '12
Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.