This package contains interfaces and classes that describe grammars
The point of access to this package is the GrammarFactory class. It maintains a list of available grammars and can create objects of specified grammars. By default Multi-Lex East v4 grammar is used.
Interface Grammar represents a grammar. Basically a grammar is an object that contains three lists - the list of categories (parts of speech), list of attributes and list of tags (sets of attribute values)
Grammars contain list of categories; each category contains list of attributes it has; each attribute contains list of possible values. Beware that list of attribute values obtained from grammar object contains all possible values of this attribute in the grammar; whereas value list obtained from querying category object will contain only those values that are allowed for this category.
A Tag interface describes a tag - list of attribute values; it can be though as a reference to category plus list of attributes values. Attributes are in the same order as in the category.