diff --git a/test_combine.py b/test_combine.py index a3b610b60fb5ad745a1895ec9a64e7e829269e08..f912be5f4ee801e13e4d32c1a5e9a69f592c4441 100644 --- a/test_combine.py +++ b/test_combine.py @@ -39,7 +39,7 @@ def extract_keywords_french(sentence): def calculate_combined_score(tfidf_score, jaccard_score): # You can adjust the weights based on the importance of each score - return 0.6 * tfidf_score + 0.4 * jaccard_score + return 0.7 * tfidf_score + 0.3 * jaccard_score def create_vectorial_base(text_lines, min_chars=10): """