Skip to content
Snippets Groups Projects
Commit f395eb54 authored by Tiravy Amaury's avatar Tiravy Amaury
Browse files

total

parent 164ce55b
Branches
No related tags found
No related merge requests found
...@@ -39,7 +39,7 @@ def extract_keywords_french(sentence): ...@@ -39,7 +39,7 @@ def extract_keywords_french(sentence):
def calculate_combined_score(tfidf_score, jaccard_score): def calculate_combined_score(tfidf_score, jaccard_score):
# You can adjust the weights based on the importance of each 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): def create_vectorial_base(text_lines, min_chars=10):
""" """
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment