Ask Your Question
0

Coding specification of .dic files [closed]

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

loved.by.Jesus gravatar image

updated 2020-08-14 11:34:56 +0100

Alex Kemp gravatar image

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 reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2020-08-14 11:35:33.830998

2 Answers

Sort by » oldest newest most voted
1

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

loved.by.Jesus gravatar image

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

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 +0100

msaunders gravatar image
edit flag offensive delete link more

Question Tools

1 follower

Stats

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

Seen: 1,374 times

Last updated: May 23 '18