File tree 1 file changed +9
-1
lines changed
1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -33,10 +33,17 @@ use Data::Dumper;
33
33
use Math::Combinatorics;
34
34
use Cwd;
35
35
36
- our $VERSION = ' 8.0 ' ;
36
+ our $VERSION = ' 8.01 ' ;
37
37
print " version: " . $VERSION . " " . Cwd::realpath(__FILE__ ) . " \n " ;
38
38
39
39
# #
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
+
40
47
# 8.0 added code to compute the BLANC metric (generalized for both gold
41
48
# and system mentions (Luo et al., 2014)
42
49
#
@@ -226,6 +233,7 @@ sub GetCoreference {
226
233
my @sentId ;
227
234
while (my $l = <F>) {
228
235
chomp ($l );
236
+ $l =~ s / ^\s +$// ;
229
237
next if ($l eq ' ' );
230
238
if ($l =~ / \#\s *end document/ ) {
231
239
foreach my $h (@half ) {
You can’t perform that action at this time.
0 commit comments