[Ligncse256] HW3 test tree range

Ben Cipollini bcipolli at cogsci.ucsd.edu
Sat Mar 1 04:45:25 PST 2008


Hey all,

I was looking over HW3 sources and noticed that the range of test trees read from the treebank doesn't match what's specified in the HW.  You'll have to make a small code change to test on the full set specified in the homework.

I believe at PCFGParserTester.java:682, 
      testTrees = readTrees(basePath, 2300, 2319, maxTestLength);
should be
      testTrees = readTrees(basePath, 2300, 2399, maxTestLength);

Please note that for code development purposes, as suggested in the HW, testing on fewer sentence is faster & easier.  But for writing up a report on the full test set, you have to change the code there.

Ben
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://pidgin.ucsd.edu/pipermail/ligncse256/attachments/20080301/abc4a317/attachment.htm 


More information about the Ligncse256 mailing list