The goal is to design algorithms and a user interface for an automatic grammar checker for compositions in the style of Palestrina. This form of counterpoint forms the pedagogical foundation for composition classes today and consists of numerous well-defined rules. Checking for violation of these rules in a composition is a tedious task that can be automated so that composers can focus on higher level aesthetic issues.