This report describes how to use a Slot Grammar (SG) parser in applications, and provides details on an API. There is a companion report, “The Slot Grammar Lexical Formalism”. Both reports are written in a fairly self-contained way. The current one can serve as an introduction to Slot Grammar and as a kind of user guide. Topics covered include: (a) An overview of SG analysis and parse displays. (b) The use of SG in interactive mode, including an editor-based interactive mode. (c) The use of SG on whole documents, or collections of documents. (d) Descriptions and inventories of SG slots and features – both morphosyntactic features and semantic types. (e) Controlling the behavior of the parser with flag settings. (f) Tag handling and annotation methods for named entities and other text chunks. (g) The parse tree data structures. (h) The API and compilation of SG-based applications. (i) Handling user lexicons.

By: Michael C. McCord

Published in: RC23978 REVISED in 2010


This Research Report is available. This report has been submitted for publication outside of IBM and will probably be copyrighted if accepted for publication. It has been issued as a Research Report for early dissemination of its contents. In view of the transfer of copyright to the outside publisher, its distribution outside of IBM prior to publication should be limited to peer communications and specific requests. After outside publication, requests should be filled only by reprints or legally obtained copies of the article (e.g., payment of royalties). I have read and understand this notice and am a member of the scientific community outside or inside of IBM seeking a single copy only.


Questions about this service can be mailed to .