Dictionary Definition File

The dictionary definition file is a file with .def extension. It is used as a definition of XML structure of the dictionary. Each row corresponds to one tag. The first column contains a level of the tag in a structure. Every tag belonging to a specific level N can be understood as a part of the nearest upper tag having a level N-1. The second column contains a name of a tag. The third column contains its minimal number of repeating in a structure and the fourth column its maximal number of repeating in a structure (-1 means infinity). The fifth column contains the following information about the type of a tag:

You can add any additional tags at the end of the files, even if the binary data are built. But do not delete or append anything somewhere else, because then the database will become inconsistent.

There is a special tag on the first level called __STAMP. This tag is automatically filled with the information about the date and time of the last update and the person who performed it.

Example

0 SYNSET                1        1 N
  1 ILI                 1        1 K
  1 POS                 1        1 N
  1 GLOSS               0       -1 E WORD_MEANING.GLOSS	wn/ili/wn_ili
  1 SYNONYM             1        1 N
    2 LITERAL           1       -1 N
      3 SENSE           1        1 N
  1 BE_IN_STATE         0       -1 L
  1 STATE_OF            0       -1 R SYNSET.BE_IN_STATE
  1 CAUSES              0       -1 L
  1 IS_CAUSED_BY        0       -1 R SYNSET.CAUSES
  1 HYPERONYM           0       -1 L
  1 HYPONYM             0       -1 R SYNSET.HYPERONYM
  1 HOLONYM             0       -1 L
  1 MERONYM             0       -1 R SYNSET.HOLONYM
  1 SUBEVENT            0       -1 L
  1 IS_SUBEVENT_OF      0       -1 R SYNSET.SUBEVENT
  1 ANTONYM             0       -1 L
  1 INVOLVED            0       -1 L
  1 ROLE                0       -1 R SYNSET.INVOLVED
  1 XPOS_NEAR_ANTONYM   0       -1 L
  1 XPOS_NEAR_SYNONYM   0       -1 L
  1 EQ_HOLONYM          0        1 L
  1 EQ_MERONYM          0        1 L
  1 EQ_HYPERONYM        0        1 L
  1 EQ_HYPONYM          0        1 L

Feel free to ask me about VisDic via e-mail tomaspavelek@lycos.co.uk.