double logprobttotal = 0.0;
int numsents = 0;
for (File f : Regression.getXMLFiles(new File(tbfn))) {
// load testfile
System.out.println("Loading: " + f.getName());
RegressionInfo rinfo = new RegressionInfo(grammar, f);
// do each item
for (int i=0; i < rinfo.numberOfItems(); i++) {
TestItem item = rinfo.getItem(i);
if (item.numOfParses == 0) continue;
numsents++;
if (verbose) System.out.println("scoring: " + item.sentence);
else System.out.print(".");
Sign sign = item.sign;