Optimality parsing and local cost functions in Discontinuous Grammar | Synapse