Grammar
From UNL Wiki
(Difference between revisions)
(→Types) |
|||
Line 2: | Line 2: | ||
== Direction == | == Direction == | ||
− | In the UNL<sup>framework</sup>, we distinguish between | + | In the UNL<sup>framework</sup>, we distinguish between analysis and generation grammars: |
− | *The UNL-NL (Generation) Grammar is used to generate natural language out of UNL | + | *The '''UNL-NL (Generation) Grammar''' is used to generate natural language out of UNL |
− | *The NL-UNL (Analysis) Grammar is used to generate UNL out of natural language | + | *The '''NL-UNL (Analysis) Grammar''' is used to generate UNL out of natural language |
== Types == | == Types == | ||
− | + | In the UNL<sup>framework</sup>, we distinguish between transformation and disambiguation grammars: | |
− | In the UNL<sup>framework</sup>, we distinguish between | + | *'''Transformation Grammar''', or T-Grammar, is the set of T-rules, which are used to transform structures<ref>To convert a list structure into a tree structure, a tree structure into a list structure, a tree structure into a network structure, and so on.</ref> |
− | *Transformation Grammar, or T-Grammar, is the set of T-rules, which are used to transform structures<ref>To convert a list structure into a tree structure, a tree structure into a list structure, a tree structure into a network structure, and so on.</ref> | + | *'''Disambiguation Grammar''', or D-Grammar, the set of D-rules, which are used to improve the performance of the T-rules |
− | *Disambiguation Grammar, or D-Grammar, the set of D-rules, which are used to improve the performance of the T-rules | + | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Notes == | == Notes == | ||
<references /> | <references /> |
Revision as of 19:28, 17 September 2012
In the UNL framework, a grammar is a set of rules that are used to generate UNL out of natural language, and UNL out of natural language.
Direction
In the UNLframework, we distinguish between analysis and generation grammars:
- The UNL-NL (Generation) Grammar is used to generate natural language out of UNL
- The NL-UNL (Analysis) Grammar is used to generate UNL out of natural language
Types
In the UNLframework, we distinguish between transformation and disambiguation grammars:
- Transformation Grammar, or T-Grammar, is the set of T-rules, which are used to transform structures[1]
- Disambiguation Grammar, or D-Grammar, the set of D-rules, which are used to improve the performance of the T-rules
Notes
- ↑ To convert a list structure into a tree structure, a tree structure into a list structure, a tree structure into a network structure, and so on.