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

Trimming bug #560

Closed 3ddiehead closed 3 years ago

3ddiehead commented 3 years ago

Added definition of Match-Phrase from Elfner 2012 and changed "removes silent nodes" to "removes silent terminals."

3ddiehead commented 3 years ago

Tests finished. We should talk about some of the conventions to follow when we start on compiling the tests in .js files into a single file. I've thought on some potential problems and solutions.

jbellik commented 3 years ago

The auto testing wasn't passing because we didn't have a newline at the end of whatever js file preceded treeTrimmingTest.js in the build file, so the first line with the function declaration ended up appended to the end of a commented out line!

Also in order to have the test actually execute from the command line, we need to put a call to it at the end of the .js file.