A webapp for the syntax-prosody analyst working in Optimality Theory, with automated Gen, Con and Eval. Download build files from syntax-prosody-ot/build
I recommend taking a look at the function addAttributeLabels() in main/treeFormatting.js to see how we are handling this for parenthesizing trees. I think the use cases are different enough that it's probably not worth trying to abstract the function to be useable in both places, but it's worth thinking about.
I recommend taking a look at the function addAttributeLabels() in main/treeFormatting.js to see how we are handling this for parenthesizing trees. I think the use cases are different enough that it's probably not worth trying to abstract the function to be useable in both places, but it's worth thinking about.