俞黄焘
|
ce9e18e3fe
|
新建了get_difficulty_level_for_words_and_tests函数专门用于给词库单词评级,返回得到一个字典d2({'apple': 4, 'banana': 4, ...});修改get_difficulty_level函数,给用户的单词评级, 分三种情况:1.以原型出现,则无需操作,因为已经出现在d2;2.词根与词库中某单词词根相同,视为一个难度的单词;3.以上两种情况之外的词视为不在词库中的词,按照difficulty_level_from_frequency函数方法评定难度。
目前还未进行测试。
|
2023-05-10 00:58:12 +08:00 |
Lan Hui
|
5e322f067b
|
requirements.txt includes dependencies of the program. difficulty.py is modified in this fix. Not sure why build.sh is included.
|
2021-08-20 19:27:44 +08:00 |
Hui Lan
|
843ed03d4f
|
Publish EnglishPal source code
|
2021-04-06 16:22:03 +08:00 |