# Generated documentation for pml/PML_M.inc

# PML_M

back

PML_M.mak - Miscellaneous macros for the morphological layer of the Prague Dependency Treebank (PDT) 2.0.

GetSentenceString($tree?)

  Return the original sentence string.

CreateStylesheets()

  Creates default stylesheet for PML analytical files unless already defined. Most of the colors it uses can be redefined in the tred config file `.tredrc` by adding a line of the form

        CustomColorsomething = ...

  The stylesheet is named `PML_A` and it has the following display features:

  1.

    sentence is displayed in `CustomColorsentence`. If the form was changed (e.g. because of a typo), the original form is displayed in `CustomColorspell` with overstrike.

  2.

    analytical function is displayed in `CustomColorafun`. If the node's `is_member` is set to 1, the type of the structure is indicated by `Co` (coordination) or `Ap` (apposition) in `CustomColorcoappa`. For `is_parenthesis_root`, `Pa` is displayed in the same color.