Each grammar file defines a set of dimensions. A dimension definition consists of:
In the UL, a dimension definition is written:
defdim <constant> {<dimension definition>}
where <constant>
is the dimension identifier for the defined
dimension.
Notice that the XDK supports a special dimension: lex
.
The lex
dimension serves to assign a word to each lexical
entry, and must be defined in each grammar file. It cannot be turned
off - the lexicon is always used.
From the set of defined dimensions, each grammar file uses a subset. To use a dimension, you write:
usedim <constant>
where <constant>
is the dimension identifier of the used
dimension.