A Multilanguage, Modular Framework for Metrical Analysis: It Patterns and Theorical Issues