code

What I Used To Do

15 Jun 2008
Posted by david
david's picture

So here is a description of something I did a couple of weekends ago at Uni for my thesis. Hopefully you'll get some idea what I spent 3 years doing.

What I needed to do was a statistical significance test, that is, comparing two models to see if their results were actually any different. This guy, Dan Bikel, had written a script to do this, here: Randomized Parsing Evaluation Comparator. Only problem was it was in Perl, which as we all know, sucks hard, and also blows. So I rewrote the thing in Python, yay Python!

Here's what it does. You take two input files that look like this:
Sent. Matched Bracket Cross Correct Tag
ID Len. Stat. Recal Prec.

Continue reading...