From 828f64770e9f76b5ae2fbd03112899402867340f Mon Sep 17 00:00:00 2001 From: zenovio Date: Wed, 10 May 2023 00:11:45 +0800 Subject: [PATCH] combine_words_through_grammar replaced with stem_words function using nltk stemmer --- app/difficulty.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/difficulty.py b/app/difficulty.py index 8ce2577..6d8885c 100644 --- a/app/difficulty.py +++ b/app/difficulty.py @@ -7,7 +7,7 @@ import pickle import math -from nltk.stem import WordNetLemmatizer +from nltk.stem import WordNetLemmatizer # using WordNetLemmatizer for better performance from wordfreqCMD import remove_punctuation, freq, sort_in_descending_order, sort_in_ascending_order