Home
Description
Publications

Available Resources
Text Acknowledgements
Related links


Events


CLaRK System

CLaRK System Online Manual


Bulgarian dialects'
electronic archive




 

 

 

 

 

 

 

title.gif (18679 bytes)

CLaRK System Online User Manual



Menu Edit

Undo

A shortcut Ctrl+Z

By choosing this item, the user restores the current document to its status before the application of the last operation on it. The system supports up to 3 steps of undo. Note that this operation does not hold for the plain text, but only for the structural representation, i.e. it restores the changes in the tree structure of the document. Sometimes the Undo operation may need a little time, especially on large documents.


Search

A shortcut Ctrl+F

The edit field and the icon on the toolbar provide the same functionality.

With this tool the user can search for nodes in the current active document exploiting the implemented XPath engine. The XPath expression is evaluated as a context node on the currently selected node in the tree view. Having evaluated the XPath expression, the system shows the result from this evaluation. The first node, that matches the query, is marked in both areas - the tree and the text. The other nodes in the list are saved in order to be selected when the user chooses Next and Previous. The user can use help information XPath axes by clicking on "Axes Info" menu and then select the name of the axes.

Next

A shortcut F3

An icon on the toolbar

When choosing this item in the current view, the user moves the focus to the next element from the list of the elements, found by the last XPath search operation. In cases when no search operation was performed or the previous search result was unsuccessful, an error notification message is shown.

Previous

A shortcut Shift-F3
An icon on the toolbar

When choosing this item in the current view, the user moves the focus to the previous element from the list of the elements, found by the last XPath search operation. In cases when no search operation was performed or the previous search result was unsuccessful, an error notification message is shown.


Text Replace

A shortcut Ctrl+H
An icon on the text area frame toolbar

This tool is using regular expression to search for and replace text in the document. It contains for fields.

The first field is the search filed. Here the user defines regular expression to match parts of the data in the text nodes. All text nodes are tokenized using the tokenizer specified in the DTD. The user can use the normalize option by clicking the normalize button. On top of them the the tool is executing the regular expression defined by the user. In the regular expression the user can use token value and token categories in the same way as in grammars. All regular expression are saved in the system memory and can be selected from the table in the bottom of the dialog.

The second field is the replace field. Here the user fill normal text which can replace the matched data. The field can be left empty. In this case the matched data will be erased from the text.

The third field is the restriction field. Here the user specifies XPath expression that restricts the text nodes on which the regular expression will be applied.It is evaluated as a predicate. The tool uses only the text nodes that have a non zero result after evaluation.

Buttons:

  1. Next - finds the next data that matches the regular expression.
  2. Previous - finds the previous data in the document that matches the regular expression.
  3. Replace - replaces the selected data with the text in the replace field.
  4. Replace All - replace all matches in the document with the text in the replace field.
  5. Normalize - the tools uses the normalize option when tokenizes text nodes.

Back to Contents