Package jazzparser :: Package formalisms
[hide private]
[frames] | no frames]

Package formalisms

source code

All available formalism modules.

A formalism defines a bundle of grammar components that may interact with each other: syntax, semantics, rules, modalities, etc. Each module may assume that the others of the same formalism are all in use at once, but no code outside the formalism may depend on anything formalism-specific. This means a full formalism module can be added and may specify all the details of how the syntax, semantics and rules behave and interact.

This structure has allowed me to develop radically different versions of the musical CCG formalism in parallel. However, there currently exists only one formalism.

The base package contains a lot of useful base classes for code that is either common to all formalisms, or that is frequently used across many formalisms.


Author: Mark Granroth-Wilding <mark.granroth-wilding@ed.ac.uk>

Submodules [hide private]

Classes [hide private]
  FormalismBase
Superclass of all Formalism structures.
Variables [hide private]
  FORMALISMS = ['music_halfspan']
  __package__ = 'jazzparser.formalisms'