AspCcgTk


This page is about AspCcgTk - the Answer Set Programming Combinatory Categorial Grammar Toolkit. AspCcgTk is a parser based on Combinatory Categorial Grammar (CGC) developed using declarative programming paradigm -- Answer Set Programming. It implements wide-coverage CCG parsing by utilizing the CCG postagger and supertagger of the C&C tool. AspCcgTk aims at producing all semantically distinct parse trees for a given sentence. Compared to typical approaches to CCG parsing, no parsing algorithm is implemented within this tool. Instead, the task of CCG parsing is formulated as a planning problem and answer set programming systems are used to compute solutions that correspond to valid parses. AspCcgTk can also be seen as a basis for a generic tool for encoding different CCG category and rule sets in a declarative and straightforward manner. In other words, AspCcgTk provides a test-bed for experimenting with different theoretical CCG frameworks without the need to craft specific parsing algorithms. AspCcgTk also contains a module for visualizing CCG derivations found by a parser.

Table of Contents

Download (single files)

If you want to have a look at parts of the encoding, you find some direct download links here:

Download (full toolkit package)

If you want to play around with AspCcgTk, please download the full package containing all related libraries and other tools (IDPDraw has been patched to display strings, BioASP has been extended for better parsing and optimization capabilities).

Full package downloads:

How to use the package

Please have a look at the README file which contains step-by-step instructions for building IDPDraw and experimenting with AspCcgTk: README.

Example visualizations

I file without reading the book.

Single derivation:
derivation image

Ann saw yesterday and proved today completeness.

Derivation 1:
derivation image

Derivation 2:
derivation image

Derivation 3:
derivation image

Publication

Parsing Combinatory Categorial Grammar with Answer Set Programming: Preliminary Report (PDF), Yuliya Lierler and Peter Schueller, 25th Workshop on Logic Programming (WLP), (2011)

Third Party Software Used

AspCcgTk uses the following libraries and/or tools developed by others:

Authors

AspCcgTk has been developed by

$Id: index.html 907 2012-02-07 17:16:10Z ps $