Monday, June 1, 2009

opennlp.ccg.grammar.Types

This class implements the notion of a (multiple inheritance) hierachy of syntactic types. It is called by the constructor method of the opennlp.ccg.grammar.Grammar class, as documented here. Each Grammar object has an instance field types of class Types. The constructor method for Grammar calls one of two constructor methods to initialise this field: (a) new Types(URL u,Grammar g); or (b) new Types(Grammar g).

The code for the Types makes crucial reference to the opennlp.ccg.unify.SimpleType class (which implements the opennlp.ccg.unify.Unifiable interface).

Apart from that, the code is a bit of a mess, so I'm going to ignore these classes for the moment.

No comments:

Post a Comment