The Regular Expressions

Regular expressions are Annotation sources intended for structure-based annotation of documents, i.e. annotating all words / phrases in a document that match a particular regular expression. For details on the syntax of the regaulr expression, please refer to the corresponding page in the JAVA API documentation (http://java.sun.com/j2se/1.4.2/docs/api/java/util/regex/Pattern.html).

The Regular Expressions Menu

The regular expressions menu provides access to functions for managing and applying regular rxpressions:

The Edit Regular Expressions Dialog

The dialog for regular expression management is accessible through the Edit function in the regular expressions menu. On the right of the dialog, a list displays all existing regular expressions. In the middle, it displays the regular expression currently selected in that list for editing. The editor window allows line breaks and indentation in order to make complex regular expressions easier to handle. Below the editor, four buttons provide functions for editing the regular expression currently selected: At the top of the dialog, a line of buttons provides the functionality for managing the regular expressions:

Applying Regular Expressions

Whenever a regular expression is to be applied, there are five additional parameters providing influence on the behavior of the regular expression based annotation: