Semantic rules
From UNL Wiki
Semantic rules are rules for mapping UNL structures into natural language and vice-versa. They can be of two different types: relation rules, i.e., rules that map UNL relations into syntatic structures; and attribute rules, which are rules that map UNL attributes into morpho-syntactic structures.
Relation Rules
Relation rules are used for translating UNL relations into natural language syntactic structures. They are always of the s-rule type.
Attribute Rules
Attribute rules are used for translating UNL attributes into natural language morpho-syntactic structures. Depending on their nature, they can follow either the s-rule or the m-rule type.
- m-rule
- m-rules are used when the attribute implies a morphological or an orthographical change. There are attributes, such as .@pl (= plural) and .@past (= past), that can be directly associated to inflections.