Bug 585 - Use OO implementation for estimating text difficulty level and user vocabulary level
Summary: Use OO implementation for estimating text difficulty level and user vocabular...
Status: CONFIRMED
Alias: None
Product: EnglishPal
Classification: Unclassified
Component: 改进建议 (show other bugs)
Version: 0.1
Hardware: PC Mac OS
: Normal enhancement
Assignee: Hui Lan
URL:
Depends on:
Blocks:
 
Reported: 2025-03-06 09:02 CST by Hui Lan
Modified: 2025-03-06 09:02 CST (History)
0 users

See Also:


Attachments

Description Hui Lan 2025-03-06 09:02:46 CST
Define class ArticleVocabularyLevel and class UserVocabularyLevel to estimate English  text difficulty level and user vocabulary level, respectively.

Create a new file called vocabulary.py and define the above two classes in it. 


These classes are going to replace the functions text_difficulty_level() and user_difficulty_level() in difficulty.py.

Do not modify difficulty.py.

-Hui

Note You need to log in before you can comment on or make changes to this bug.