Closed maxTarlov closed 4 years ago
I think "Unary XPs are invisible" should be changed to "Unary intermediate nodes are invisible"
Removed noAdjacentHeads option from interface and moved desired behavior to button onClick function autoInputTree() in interface.js
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.