The @collo tag gives access to the Ngrammer. It is normally used
with some convenient shorthands that are defined only for use in
glossaries--where the shorthands can be expanded from context. A
typical Ngram entry consists of a Left-Hand Side (LHS) and a
Right-Hand Side (RHS); in @collo
entries it's most common
only to give the LHS and let the @collo
system generate
the RHS for you.
When the glossary processor reads 00lib/sux.glo it expands the @collo rules and puts them in a file, 02pub/coll-sux.ngm. The lemmatizer reads these rules and applies them early in the disambiguation sequence.
When we talk of 'expanding' here, we mean that the shorthand given in @collo is supplemented with contextual data to create a valid Ngrammer entry in the output file 02pub/coll-sux.ngm.
Work-in-progress documentation for the Ngrammer
is available here. It is
sometimes necessary to give full Ngrammer rules in
a @collo
entry, but because the RHS (after
the =>
is often unnecessary in the Ngrammer it's rarely
necessary to give it in @collo
. It is never necessary to
give an RHS consisting entirely of *
elements--in fact,
the @collo
system discards an RHS that consists entirely
of asterisks.