File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -33,10 +33,17 @@ use Data::Dumper;
3333use Math::Combinatorics;
3434use Cwd;
3535
36- our $VERSION = ' 8.0 ' ;
36+ our $VERSION = ' 8.01 ' ;
3737print " version: " . $VERSION . " " . Cwd::realpath(__FILE__ ) . " \n " ;
3838
3939# #
40+ # 8.01 fixed a bug that crashed the the BLANC scoring when duplicate
41+ # (potentially singleton) mentions were present in the
42+ # response. as part of the fix, wee will allow a maximum of 10
43+ # duplicate mentions in response, but if there are more, than it
44+ # is a sign of a systematic error/manipulation and we will refuse
45+ # to score that run.
46+
4047# 8.0 added code to compute the BLANC metric (generalized for both gold
4148# and system mentions (Luo et al., 2014)
4249#
@@ -226,6 +233,7 @@ sub GetCoreference {
226233 my @sentId ;
227234 while (my $l = <F>) {
228235 chomp ($l );
236+ $l =~ s / ^\s +$// ;
229237 next if ($l eq ' ' );
230238 if ($l =~ / \#\s *end document/ ) {
231239 foreach my $h (@half ) {
You can’t perform that action at this time.
0 commit comments