Closed webSue closed 1 year ago
CWSEvaluator类中的compare方法比较标准答案与分词结果时,循环逐一比较词语时,predLen的计算存在错误,增加了另一个数组的对应index位置词语的长度,而不是predArray本身数组的
Please check any relevant options and delete the rest.
运行CWSEvaluatorTest的testGetPRF()方法debug即可
Check all items that apply.
dev
master
感谢指正!
fix:修复CWSEvaluator比较切分语句时的计算错误
Description
CWSEvaluator类中的compare方法比较标准答案与分词结果时,循环逐一比较词语时,predLen的计算存在错误,增加了另一个数组的对应index位置词语的长度,而不是predArray本身数组的
Type of Change
Please check any relevant options and delete the rest.
How Has This Been Tested?
运行CWSEvaluatorTest的testGetPRF()方法debug即可
Checklist
Check all items that apply.
dev
branch instead ofmaster