Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. Categorial
grammar is a term used for a family of formalisms in natural language
syntax motivated by the principle of compositionality and organized
according to the view that syntactic constituents should generally
combine as functions or according to a function-argument relationship. A
categorial grammar consists of two parts, a lexicon, which assigns a set
of types to each basic symbol, and some type inference rules, which
determine how the type of a string of symbols follows from the types of
the constituent symbols.