From f395eb5426f8b134f8e197aee405986ff9d9d7e1 Mon Sep 17 00:00:00 2001 From: Tiravy Amaury <amaury.tiravy@ecl20.ec-lyon.fr> Date: Thu, 7 Mar 2024 11:15:17 +0100 Subject: [PATCH] total --- test_combine.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_combine.py b/test_combine.py index a3b610b..f912be5 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): """ -- GitLab