Grammar Analysis

The Grammar Analysis view displays a number of metrics and properties for each rule of a grammar:

The metrics and properties displayed in this view are:

Recursive?
A yes/no value indicating whether the rule is recursive, directly or indirectly.
Nullable?
If yes/no value indicating whether the rule can generate the empty sentence.
Derivations
An integer giving the number of direct derivations the rule produces (may be infinite). A direct derivation is a sentential form (i.e. a sequence of words and rule references) obtained from the rule without expanding rule references inside the rule's expansion.
Sentences
An integer giving the number of sentences that the rule generates (may be infinite). (If there are multiple ways of generating the the same sentence using the rule, they are all accounted for.)
Max length
An integer giving the length (in number of words) of the longest sentence generated by the rule (may be infinite).
Copyright © 2007,2008,2009,2010,2011 Nu Echo Inc.