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

Assess / fix head marking with BinMaxHead #558

Closed jbellik closed 3 years ago

jbellik commented 3 years ago

Right now binMaxHead() runs markHeads() regardless of whether heads have already been marked. This should be changed to only run if heads haven't already been marked, I think.

More importantly, the interface needs an option for selecting which side heads are aligned with for binMaxHead and binMinHead.

jbellik commented 3 years ago

Possibly there is a bug with not marking heads of unary things?? I am getting {(a bb ccc)} back with no heads marked as one candidate, and {(x yy zzz)} again without any heads marked with 'x yy zzz' as the input.

jbellik commented 3 years ago

Also {(((x) (yy)) (zzz))} only has one head marked, when I expected all heads: {(((x) (yy)) (zzz*))}

jbellik commented 3 years ago

This may become relevant: https://github.com/syntax-prosody-ot/main/pull/562

jbellik commented 3 years ago

To re-present the goals of this issue, they are:

jbellik commented 3 years ago

Closed by #575