Generated documentation for pml/PML_T_Edit.inc

PML_T_Edit

back

PML_T_Edit.mak - Miscellaneous macros for editing the tectogrammatic layer of Prague Dependency Treebank (PDT) 2.0.

AddCoref(node,target,coref)

If the node does not refer to target by the coref of type $coref, make the reference, else delete the reference.

MouseEditLinks(ask,@_ of value_line_click_hook)

Enables changes of a/aur.rf and a/lex.rf by clicking on the words of the sentence (value line). 1. Alt + left click: makes the word the a/lex.rf of the current node. 2. Ctrl + left click: creates new son of the current node from the word. 3. Shift + left click: adds the word to a/aux.rf or removes it from linked a-nodes.

If ask is set to 1, asks for attributes for a new node.

RememberNode()

Remembers current node to be used later, e.g. with text_arrow_to_remembered.

MarkForARf()

Enter analytical layer with current node remembered. By calling PML_A_Edit::AddThisToA... you can make links between the layers.