Skip to content

Commit

Permalink
fix:修复中文分词评测工具比较时的计算错误
Browse files Browse the repository at this point in the history
  • Loading branch information
webSue committed Oct 19, 2023
1 parent 4b2686c commit 69e69b5
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 69e69b5

Please sign in to comment.