CCGlab
CCGlab
is a tool to explore with Combinatory Categorial Grammar (CCG), from
quick check of a linguistic analysis in CCG, to large-scale development
of grammars and models.
-Cem Bozsahin
CCGlab
grammars are written much like in CCG papers. The output is in papers format (well, almost). It is written in Common Lisp.
There is an installer in the repo below to get everything needed to set it up.
It implements all established combinators of CCG, also, experimental ones, in all variants and powers.
Unary rules, slash modalities,
and meta-categories such as (X\X)/X have been implemented. The manual below
describes the range of possible CCGlab
grammars.
It also implements probabilistic CCG, aka. pCCG. In the plain vanilla version, only lexical features are used, which you can amend. Parameter estimation and update are provided with or without extrapolation. Therefore model training is possible.
In `parsing' mode, CCGlab
delivers all logical forms that are derivable for an expression.
In `ranking' mode, for an expression, it gives (1) the most likely logical form, given training from earlier data, (2) its most likely derivation, and (3) the most likely derivation for any LF for the expression. Lower-ranking parsers are available too, if demanded.
Both modes are based on the same CKY parse engine and the same CCG grammar format.
The main features of CCGlab
are:
CCGlab
resourcesManual | Latest manual. For reference, and for sneak preview. |
Repository | Github repo (with installer). Also contains sample grammars and release notes. |
License | Publicly available software, with GNU General Public License. One day it will be hardware. |
Tips | Practical information about writing .ccg grammars, working with projects, updates, etc. |