How can I add all words of a document to a dictionary?


I have an .odt document and I want to add all the words of my document to a dictionary without adding them sporadic. Is there an option to do this?

sorry for my English.

Somewhere in your user profile, there is a dictionary file: standard.dic. When your dictionary is empty, this file only contains the following:

lang: <none>
type: positive

The location of this file will depend on your operating system. It is a text file, so you can add your words to it (copy them from the document). But, I have never tried this before, so make sure you know how to write them into the file. The easiest way would be to add a couple of words to the dictionary from LibreOffice and then to check the file again to see how the entries are laid out. You could then copy the layout and include your entries.

This is one solution, but it’s a bit of a hack. I’m sure there’s a better, higher-level way…

Also, see this help page about creating and editing dictionaries one entry at a time, from the application’s appropriate menu:

See also → How do I edit .dic files?

You could create a word list "List Unrecognized Words" with the extension "Linguist", see → Find frequently used words.

Thanks! Those are very helpful tips and I’ll definitely check out the extension.

For users of LO 4.0.x: Please be aware of

Bug 61173 - Linguist 1.5: Installation fails with error message.

Update – fdo#61173 has been fixed.

Linguist 1.5.1 (released 2013-02-22) works fine in LibreOffice 4.0.