| 52 | Here, the group verbP denotes two sets of non-terminals with the corresponding actions that are substituted for the expression group(verbP) on the RHS of the clause non-terminal. |
| 53 | |
| 54 | ''flag(any string)'': refer to veerb group members in rules |
| 55 | ''verb_rule_schema'': |
| 56 | • defines the port of verb group that form a verbal object in successive logical analysis[[BR]] |
| 57 | • appears in group and rule right hand side |
| 58 | ''%marge_actions={verb_rule_schema}'': gather and merge arguments of actions from verb_rule_schema into one resulting actiont |
| 59 | |
| 60 | rule levels: express the occurrence of grammatical phenomena. The higher the level, the less frequent the appropriate grammaticalphenomena is. |
| 61 | |
| 62 | '''Example:''' |
| 63 | |
| 64 | {{{ |
| 65 | 3: np -> adj_group |
| 66 | propagate_case_number_gender($1) |
| 67 | }}} |
| 68 | |
| 69 | Rule is of level 3. When we turn the grammar level to at least 3, we allow adjective groups to form a separate intersegment. |
| 70 | |
| 71 | ''head()'' and ''depends()'': allow to express the dependency links between rule items. For example depends(A,B,C) means that B and C depends on A. |
| 72 | |
| 73 | |
| 74 | == Second grammar form == |
| 75 | As we have mentioned earlier, several pre-defined grammatical tests and procedures are used in the description of context actions associated with each grammatical rule of the system. |
| 76 | |
| 77 | The pruning actions include: |
| 78 | • grammatical case test for particular words and noun groups |
| 79 | • agreement test of case in prepositional construction |
| 80 | • agreement test of number and gender for relative pronouns |
| 81 | • agreement test of case, number and gender for noun groups |
| 82 | • type checking of logical constructions |
| 83 | |
| 84 | '''Example:''' |
| 85 | |
| 86 | {{{ |
| 87 | np -> adj_group np |
| 88 | rule_schema($@, "lwtx(awtx(#1) and awtx(#2))") |
| 89 | rule_schema($@, "lwtx([[awt(#1),#2],x])") |
| 90 | }}} |
| 91 | |
| 92 | The rule schema action presents a prescription for building a logical construction out of the sub-constructions from the right hand side. |
| 93 | ''propagate_all'' and ''agree_*_and_propagate'': compute and propagate all relevant grammatical information from the selected non-terminals on the right hand side to the one on the left hand side of the rule. |
| 94 | |
| 95 | |
| 96 | == The Expanded Grammar Form (G3) == |
| 97 | |
| 98 | Transform G2 form with the contextual actions into the rules. |
| 99 | |
| 100 | [[Image(http://www.fi.muni.cz/~xmedved1/synt.jpg)]] |