Institutional Grammar Book Website

   Home    Book Content    Errata    IG 2.0 Features    FAQ    Coder's Corner    IG Parser    Resources    Events

IG Parser

IG Parser is a tool that parses institutional statements in the IG Script notation, which allows for the machine-accessible parsing of institutional information in the form of the Institutional Grammar (both the original version, as well as IG 2.0). The underlying syntax has been introduced as part of the IG Book, with specific examples of encoded institutional statements referenced throughout Chapters 7 and 8 of the book provided under Book Examples.

The current version of IG Parser is available in two versions that both take IG Script as input, but produce different output, selectively focusing on tabular output, as well as a tree output for visual exploration of the parsing outcome based on interactive navigation.

When opening the parser, you will see input fields, the first of which merely takes any original (i.e., unparsed) statement as reference, and a second field that asks for the "Encoded Statement". This field requires IG Script input (a guide is provided by clicking on the "Encoded Statement" label, alongside an extended guidance via the links below). In addition, you can parameterize the output to consider relevant features (e.g., IG Extended output -- to take fine-grained nesting into account; Semantic annotations to include IG Logico annotations in the output).

You can use the following links to access the parser (Note: you can interactively switch between both versions from within the user interface).

An overview of the IG Script syntax supported by the IG Parser is provided here. The code repository is available on Github.