Ask Your Question
0

Coding specification of .dic files

asked 2018-05-23 14:54:00 +0200

loved.by.Jesus gravatar image

updated 2018-05-23 14:59:04 +0200

I would like to manually edit a .dic file, for example, the en_GB.dic. But when I open it for editing, I find the words list with some numerical codes that I do not understand (see example below)

jetting 1
jettison/4 1
jet 1
jetty/303 1
Jew/2 1
jewel/86 1
jeweller/2 1

Where could I find the meaning of this coding (/2, /86, and so on), so that I can manually edit the .dic file?

Thanks.

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted
1

answered 2018-05-23 16:36:38 +0200

loved.by.Jesus gravatar image

updated 2018-05-23 16:37:35 +0200

Now I see, Thanks to @msaunders

The commands used in the .dic file are specified in the .aff file. For that reason, dictionary files go in pairs, such as, en_GB.dic and en_GB.aff.

The coding format used in both files both .dic and .aff files is fully specified here: https://github.com/hunspell/hunspell/blob/master/docs/hunspell.5.md

edit flag offensive delete link more
1

answered 2018-05-23 15:23:09 +0200

msaunders gravatar image
edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2018-05-23 14:54:00 +0200

Seen: 219 times

Last updated: May 23 '18