Disambiguation grammar

From UNL Wiki
Revision as of 15:18, 28 July 2012 by Martins (Talk | contribs)
Jump to: navigation, search

The disambiguation grammar, or d-grammar, is the set of disambiguation rules, or d-rules, which are used to:

  • 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
STATEMENT is any network, tree or list relation; and
P, which can range from 0 (impossible) to 255 (necessary), is the probability of occurrence of the STATEMENT

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-rules

Software