Skip to content

Commit

Permalink
incremented the version and also fixed the bug that made offsets go off
Browse files Browse the repository at this point in the history
track when there is a white space character separating blocks
instead of just a newline
  • Loading branch information
sameer-pradhan committed Sep 16, 2014
1 parent 32910f5 commit b04cd1a
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion lib/CorScorer.pm
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,17 @@ use Data::Dumper;
use Math::Combinatorics;
use Cwd;

our $VERSION = '8.0';
our $VERSION = '8.01';
print "version: " . $VERSION . " " . Cwd::realpath(__FILE__) . "\n";

##
# 8.01 fixed a bug that crashed the the BLANC scoring when duplicate
# (potentially singleton) mentions were present in the
# response. as part of the fix, wee will allow a maximum of 10
# duplicate mentions in response, but if there are more, than it
# is a sign of a systematic error/manipulation and we will refuse
# to score that run.

# 8.0 added code to compute the BLANC metric (generalized for both gold
# and system mentions (Luo et al., 2014)
#
Expand Down Expand Up @@ -226,6 +233,7 @@ sub GetCoreference {
my @sentId;
while (my $l = <F>) {
chomp($l);
$l =~ s/^\s+$//;
next if ($l eq '');
if ($l =~ /\#\s*end document/) {
foreach my $h (@half) {
Expand Down

0 comments on commit b04cd1a

Please sign in to comment.