VisDic Update

VisDic dictionaries can be updated using vupdate program which converts data written in Journal format to the inner format of VisDic. Every type of change can be interactively consulted with the user who will decide whether the change is applied or not.


1. Journal Format

Journal file consists of following entries (each entry is stored at one line):

DATE TIME USER TYPE CHANGE

where

2. vupdate Program

vupdate opens the dictionary which has to be updated and a journal file. Then it reads sequently the changes written in the journal file and makes actions based on different types of events. The behaviour of the program can be specified in the configuration file described below.

There are several types of actions the program provides:

In the last case, an information of the change is displayed.

Then the user can enter one of the following commands:


2.1 Hints

There is an option for displaying hints which can help the user for his decision. Hint can say either

Note: Hints slows the process slightly.


2.2 Configuration file

The configuration file of vupdate consists of two main sections:
  1. Events which can occur and the action connected with them. This field has the following format:

    JOUR_EVENT + DICT_EVENT = ACTION

    where

  2. Keys for activating the special view of Orig: and Jour: lines. It contains lines with the following structure:

    KEY = VISUAL_DEFINITION

    where

Note: Empty lines, lines beginnig with # character and additional spaces are ignored during the configuration file processing.

Here is an example of vupdate configuration file: vupdate.cfg


2.3 Command Line Options

vupdate has the following command line structure:

vupdate DICT JOURNAL [OPTIONS]

where


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