Skip to content

Commit e68be80

Browse files
committed
Merge remote-tracking branch 'origin/1.x' into 1.x
2 parents a089963 + 4ac13f1 commit e68be80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/hankcs/hanlp/seg/common/CWSEvaluator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ public void compare(String gold, String pred)
130130
}
131131
A_cap_B_size++;
132132
goldLen += wordArray[goldIndex].length();
133-
predLen += wordArray[goldIndex].length();
133+
predLen += predArray[predIndex].length();
134134
goldIndex++;
135135
predIndex++;
136136
}

0 commit comments

Comments
 (0)