Merge branch 'Bug476-YuHuangtao' of http://121.4.94.30:3000/mrlan/EnglishPal into Alpha-snapshot20230519

Hui Lan 2023-05-23 19:50:30 +08:00
commit 1295616d5b
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