-
Notifications
You must be signed in to change notification settings - Fork 4
ClimbShortClimb
SHORT-CLIMB is a tool that can create metagrammar libraries for a larger resource grammar. It provides a practical set-up to flip back and forth between different versions of a grammar. The approach can be used to (temporarily) maintain and explore an alternative analyses, or to collect standard differences between versions of a grammar (e.g. a more restricted version and a more robust version)
- Definitions related to a specific (alternative) analysis are located at one spot (clear overview of related properties)
- Revisions made to one version of the grammar can be included in the other version automatically (more systematic comparison between versions)
- SHORT-CLIMB libraries can be applied to the grammar at any time: may provide a good starting point to go back to an old analysis after a long time
-
SHORT-CLIMB can be obtained by contacting AntskeFokkens (the code can be downloaded directly soon)
-
Please send request, questions and bugs reports to AntskeFokkens by email (for bug reports: include your library and the to-be-modified TDL file)
- SHORT-CLIMB (short_climb.py) lives in a subdirectory of the grammar
- CLIMB libraries live in a subdirectory of the grammar called climb
- CLIMB libraries define which .tdl files must be manipulated: all other parts of the grammar will be copied
To change these defaults adapt the following lines in short_climb.py:
path = '../climb/'
gram_path = '../'
where gram_path should lead to the directory of the grammar and path to the directory of CLIMB libraries.
SHORT-CLIMB can insert and remove types, add new properties to types and remove properties from types. These operations are evoked from statements in CLIMB libraries. Examples are provided below
remove=type_name
removes all type definitions with type_name from grammar
remove=type_name,addendum
removes all addenda to type with type_name from grammar
Home | Forum | Discussions | Events