Skip to content

Commit

Permalink
Merge pull request #1853 from webSue/fix/cws_evaluate
Browse files Browse the repository at this point in the history
fix:修复CWSEvaluator比较切分语句时的计算错误
  • Loading branch information
hankcs authored Oct 20, 2023
2 parents 4b2686c + 69e69b5 commit 4ac13f1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public void compare(String gold, String pred)
}
A_cap_B_size++;
goldLen += wordArray[goldIndex].length();
predLen += wordArray[goldIndex].length();
predLen += predArray[predIndex].length();
goldIndex++;
predIndex++;
}
Expand Down

0 comments on commit 4ac13f1

Please sign in to comment.