|
|
(12 intermediate revisions by one user not shown) |
Line 1: |
Line 1: |
− | <b>Composition rules</b> (CPWR) are used to generate compounds out of the base form.
| + | #REDIRECT [[Composition]] |
− | | + | |
− | == When to use composition rules ==
| + | |
− | Composition rules must be created only in case of [[multiword expressions]] with the following features:
| + | |
− | | + | |
− | | + | |
− | == When not to use composition rules ==
| + | |
− | | + | |
− | | + | |
− | == How to create a composition rule ==
| + | |
− | | + | |
− | == Examples of composition rules ==
| + | |
− | | + | |
− | == Composition rules in the dictionary ==
| + | |
− | In the UNL<sup>arium</sup> frameword, composition rules may be expressed in two different formats:
| + | |
− | *As complex structures, such as
| + | |
− | [[sub-NLW][sub-NLW]...[sub-NLW]] {ID} “UW” (ATTR , ..., #01(ATTR, ...), #02(ATTR, ...), ...) < FLG , FRE , PRI >; COMMENTS
| + | |
− | **For further information on complex structures inside the dictionary, refer to [[Dictionary Specs#Complex]]
| + | |
− | *As simple structures, such as
| + | |
− | [NLW] {ID} “UW” (ATTR , ..., BF=<BASE FORM>, CPWR=MTW(<COMPOSITION RULE>) ) < FLG , FRE , PRI >; COMMENTS
| + | |
− | **Where <COMPOSITION RULE> is the rule or set of rules used to form the lemma out of the base form, and <BASE FORM> is the [[base form]]
| + | |
− | | + | |
− | == Example of dictionary entries containing composition rules ==
| + | |
− | *[[bring] [back]] {12343} "202078294" (pos=VER, #01(IFX(ET0:=4>"ought")), #02(pos=PRE)) <eng, 0, 0>;
| + | |
− | *[bring back] {12343} "202078294" (pos=VER, BF=bring, CPWR=MTW(VA([back],A,M0);)) <eng, 0, 0>;
| + | |