Closed nkalivoda closed 3 years ago
Diagnosis: accentAsHead and noLapse are counting on the ptrees having accent attributes in them. Originally if accent attributes were missing, they would be inferred from the node ids (a --> accent: true, u --> accent: false). but this isn't working now. Possibly due to a change in GEN?
Make the accent constraints more robust by having them call another function to add accents as necessary
Define a function that takes a tree, and if any of its nodes has an id of the form: 'a' 'A' 'a#' 'A#' where # = any integer, then give it an attribute accent set to true.
Otherwise, accent can be set to false, or left unassigned.
In the Ito & Mester built-in system, accentAsHead and noLapseL stop assigning violations when I uncheck "Annotated with tones". They should still work without the annotations.