Disambiguation grammar: Difference between revisions

From UNLwiki
Jump to navigationJump to search
imported>Martins
No edit summary
imported>Martins
No edit summary
Line 1: Line 1:
The disambiguation grammar, or '''d-grammar''', is the set of disambiguation rules, or '''d-rules''', which are used to:
The disambiguation grammar, or '''d-grammar''', is the set of disambiguation rules, or [[d-rules]], which are used to prevent wrong lexical choice, to provoke best matchs and to check the consistency of the graphs, trees and lists.  
*Prevent wrong lexical choices;
*Provoke best matches;
*Check the consistency of the graphs, trees and lists.
As defined in the [[UNL Grammar Specs]], the structure of a d-rule is the following:
 
STATEMENT=P;
 
Where<br />
STATEMENT is any network, tree or list relation; and<br />
P, which can range from 0 (impossible) to 255 (necessary), is the probability of occurrence of the STATEMENT<br />


== How to use d-grammars ==
== How to use d-grammars ==
Line 17: Line 7:
D-grammars are necessary to deal with lexical and syntactic ambiguities.
D-grammars are necessary to deal with lexical and syntactic ambiguities.


== Examples of d-rules ==
== Examples of d-grammar ==
*[[English Disambiguation Grammar]]
*[[English Disambiguation Grammar]]

Revision as of 16:14, 28 July 2012

The disambiguation grammar, or d-grammar, is the set of disambiguation rules, or d-rules, which are used to prevent wrong lexical choice, to provoke best matchs and to check the consistency of the graphs, trees and lists.

How to use d-grammars

D-grammars must be uploaded to or provided directly at the tab d-rules in IAN or EUGENE.

When to use d-grammars

D-grammars are necessary to deal with lexical and syntactic ambiguities.

Examples of d-grammar