Preferences file

The preferences file indicates the kind of annotation which can be applied to a text. A preference file contains several types of information:

  • information about the XML tags which are created and their attributes
  • information about the way these tags are displayed in the annotation tool (e.g. color, boundary markers, etc)
  • information about plugins? which can be run at different stages of annotation
  • other information which could be useful in the process (e.g. shortcuts)

The preferences file is a plain text file which can be edited using your favourite text editor. In addition, you can also try the Preferences Editor? which is currently in beta version and will be released with PALinkA 2.0?.

Information about the XML tags which can be created and their attributes

Information about the way these tags are displayed in the annotation tool

Other information which could be useful in the process (e.g. shortcuts)

  • ROOT_LABEL indicates the root label of a document
  • TOKEN_LABEL indicates the token markers which can be annotated
  • HOT_KEY indicates a shortcut which can be used to select the tag
  • PARAGRAPH_LABEL indicates the tags which mark paragraphs

The preferences file can also contain comments. There are two ways to specify comments:

  • start a line with the # character, in this way the whole line is considered a comment
  • use the ; character to indicate that everything after it is a comment

If you want you can see some examples for Coreference annotation and Event annotation.

Back to documentation