0
0
Fork 0

去掉了get_difficulty_level_for_user的多出的break

Bug476-YuHuangtao
俞黄焘 2023-05-23 19:40:33 +08:00
parent 39d96014d9
commit c151a0efaa
1 changed files with 0 additions and 1 deletions

View File

@ -56,7 +56,6 @@ def get_difficulty_level_for_user(d1, d2):
continue # 无需评级,跳过
elif stem.stemWord(k) in d2: # 如果用户的词的词根存在于词库d2的词根库中
d2[k] = d2[stem.stemWord(k)] # 按照词根进行评级
break
else:
d2[k] = 3 # 如果k的词根都不在那么就当认为是3级
return d2