Skip to content

Commit

Permalink
debug parser
Browse files Browse the repository at this point in the history
  • Loading branch information
jcanny committed Sep 16, 2013
1 parent 1f214f2 commit 055e04b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file modified BIDParse.jar
Binary file not shown.
4 changes: 2 additions & 2 deletions src/main/scala/BIDParse/Parser.scala
Original file line number Diff line number Diff line change
Expand Up @@ -876,14 +876,14 @@ object BIDParser {
val tt = ff._2
val f1 = eval.evaluateMultiple(decoded.asJava, testTrees, new PrintWriter(System.out))
println("time= %f secs, %f sents/sec, %f gflops".format(tt, testTrees.size / tt, ff._1) )
println("GPU parsesr F1: " + f1)
println("GPU parsesr F1: %6.5f" format f1)

println("getting berkeley parser parses... this will take a while.")
tic
val berkeleyParses = parser.berkeleyParses(toDecode)
val ttt=toc
val berkeleyf1 = eval.evaluateMultiple(berkeleyParses.map(_._1).asJava, testTrees, new PrintWriter(System.out))
println("Berkeley F1: " + berkeleyf1 + " t="+ttt)
println("Berkeley F1: %6.5f, t=%4.2f" format (berkeleyf1, ttt))

(decoded, testTrees.asScala.toIndexedSeq, berkeleyParses)
}
Expand Down

0 comments on commit 055e04b

Please sign in to comment.