Michal
Michal

Reputation: 21

OpenOffice/Mozilla *.dic file format

I would like use openoffice/mozilla dictionary at own aplication. I tried find dic file format documentation (it seems easy) but I have problem with this. If someone have this kind of documentation I will be grateful for information

Upvotes: 2

Views: 4130

Answers (2)

Sukii
Sukii

Reputation: 287

In the beginning there was MySpell and then there was the UTF-8 version, Hunspell...

Cutting the story short, basically there are two files: *.dic and *.aff.

The first one contains a list of correct words. The second one has affixes.

I found a link that explains it.

Upvotes: 6

svens
svens

Reputation: 11628

According to my first result on google it's a plain-text (UTF-8 encoded) file, which lists all the words in alphabetical order on separate lines (\r\n line ending) starting from line 2. Line 1 contains the number of words.

A short look into a random .dic file confirms that. Shouldn't be too complicated to find such things.

Upvotes: 0

Related Questions