Package jazzparser :: Package formalisms :: Package music_halfspan :: Module rules
[hide private]
[frames] | no frames]

Module rules

source code

Grammar rules module for the music_halfspan formalism.

Grammatical rules for the keyspan formalism. A lot of this is standard CCG, with a few special additions.


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

Classes [hide private]
  ApplicationRule
  CompositionRule
  DevelopmentRule
The development rule strings together sequences of resolved cadences.
  CoordinationRule
The coordination rule allows partial cadences to combine and share a resolution.
  TonicRepetitionRule
A special unary rule for expanding the lexicon to add tonic repetition categories, generated from the tonic categories already in the lexicon.
  CadenceRepetitionRule
A special unary rule for expanding the lexicon to add dominant or subdominant repetition categories for all the substitutions, generated from the cadential categories already in the lexicon.
Variables [hide private]
  logger = logging.getLogger("main_logger")
  __package__ = 'jazzparser.formalisms.music_halfspan'