syntax-prosody-ot / main

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
https://spot.sites.ucsc.edu/
GNU General Public License v2.0
12 stars 2 forks source link

Adjacent heads #380

Closed maxTarlov closed 4 years ago

maxTarlov commented 4 years ago

Addresses #373 . When intermediate syntactic category, terminal syntactic category or noUnary is selected, syntacticOpCompatible() checks that all the options are compatible. If not, it sets adjacentHeads to true and disables the input. If the options were previously incompatible and now aren't, syntacticOpCompatible re-enables adjacentHead and sets it back to what it was before the options were incompatible. My thinking behind this is that someone might select noUnary, not see that it had selected adjacentHeads, and then deselect noUnary. In that case, the user would get adjacent heads where they would have expected not to.

maxTarlov commented 4 years ago

I think "Unary XPs are invisible" should be changed to "Unary intermediate nodes are invisible"

maxTarlov commented 4 years ago

Removed noAdjacentHeads option from interface and moved desired behavior to button onClick function autoInputTree() in interface.js