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

Fix "Add XP clitics directly under root" bug #440

Closed maxTarlov closed 4 years ago

maxTarlov commented 4 years ago

removed hard-coded XP root in addCliticsXP function to avoid [{one} [x.clitic]] behavior. Minimal string of "one" produces the following syntax trees:

  1. | {one [x.clitic]}
  2. | {[one] [x.clitic]}

This list would include {{one} [x.clitic]} and {{[one]} [x.clitic]} if not for a hard-coded exception since these structures are probably impossible (@rbibbs please confirm).

After implementing these changes, I was unable to reproduce the additional bug @rbibbs found where cp boundaries were omitted entirely.