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 grate开发者_如何学Cful for information
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.
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.
精彩评论