The annotated sentences are stored in memory. They are saved in a file only when the user explicitly chooses the Save annotation command from the File menu. The effect of this action is the activation of a standard (relatively to the specific platform) dialog box where the user, after having selected the directory where the file containing the annotated sentences should be placed, enters the name corresponding to this file. In order to save the file one must click on button Save of the dialog box. The file name must contain the extension .xml (corresponding to the format in which data are saved). Within the same dialog box the user may select an already existing file, in which case data will be appended at the end of that file (appended to the already existing data). It is up to the user to make sure that the selected file contains annotated sentences as well, and not data of a different nature.
The xml files in which data are stored can be placed at any location within the existing directory structure but, in order to be useful, they require the dga.dtd file which is placed in the directory of the DGAnnotator application. It is therefore recommended that file dga.dtd should be copied in those directories where the xml data files are located.
Ending a working session takes place by selecting the Exit command from File menu, or by closing the main window of the application. If, when exiting, data (annotated sentences) which have not yet been saved still exist, the user is notified and has the opportunity to save them.
>Dependency Grammar Annotator |