Grammar

From UNL Wiki
(Difference between revisions)
Jump to: navigation, search
(New page: '''Grammar''' is the set of logical and structural rules that govern the composition of sentences, phrases and words in any given natural language. In the UNL<sup>arium</sup> framework, we...)
 
Line 1: Line 1:
 
'''Grammar''' is the set of logical and structural rules that govern the composition of sentences, phrases and words in any given natural language. In the UNL<sup>arium</sup> framework, we distinguish three different types of rules according to the scope of their action:
 
'''Grammar''' is the set of logical and structural rules that govern the composition of sentences, phrases and words in any given natural language. In the UNL<sup>arium</sup> framework, we distinguish three different types of rules according to the scope of their action:
*'''[[Ph-rules]]''' (phonetic rules) apply over a form to provide alternations and sound changes (such as as assimilation and elision);
+
*'''[[Ph-rule]]s''' (phonetic rules) apply over a form to provide alternations and sound changes (such as as assimilation and elision);
*'''[[A-rules]]''' (affixation rules) apply over a form to generate its possible inflections by prefixation, infixation or suffixation; and
+
*'''[[A-rule]]s''' (affixation rules) apply over a form to generate its possible inflections by prefixation, infixation or suffixation; and
*'''[[S-rules]]''' (syntactic rules) apply over a form to project or modify its syntactic structure by specification, complementation or adjunction.
+
*'''[[S-rule]]s''' (syntactic rules) apply over a form to project or modify its syntactic structure by specification, complementation or adjunction.
 
Examples:
 
Examples:
 
{|border=1 cellpadding=2
 
{|border=1 cellpadding=2

Revision as of 10:44, 21 March 2010

Grammar is the set of logical and structural rules that govern the composition of sentences, phrases and words in any given natural language. In the UNLarium framework, we distinguish three different types of rules according to the scope of their action:

  • Ph-rules (phonetic rules) apply over a form to provide alternations and sound changes (such as as assimilation and elision);
  • A-rules (affixation rules) apply over a form to generate its possible inflections by prefixation, infixation or suffixation; and
  • S-rules (syntactic rules) apply over a form to project or modify its syntactic structure by specification, complementation or adjunction.

Examples:

Type Rule Description Example
Ph-rule "a",>>VOW:="a">"an"; In case of "a" and before a blank space and a vowel, replace "a" by "an" a adjective > an adjective
A-rule PLR:=0>"s"; In case of plural (PLR), add "s" to the end of the word table > tables, boy > boys
S-rule MTW:=VA("into account"); In order to form the multiword expression, add "into account" as an adjunct to the verb (VA). take > take into account
Software