Skip to content

Commit

Permalink
Merge pull request #8 from Moeen89/main
Browse files Browse the repository at this point in the history
fix argument of utils.search()
  • Loading branch information
amirhossein-razlighi authored May 31, 2024
2 parents 9fe8b77 + 9d77a95 commit e9835d3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Logic/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ def search(
weights: list = [0.3, 0.3, 0.4],
should_print=False,
preferred_genre: str = None,
smoothing_method = None,
alpha=0.5,
lamda=0.5,
):
"""
Finds relevant documents to query
Expand Down
2 changes: 1 addition & 1 deletion UI/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def search_handling(
search_max_num,
search_method,
search_weights,
unigram_smoothing=unigram_smoothing,
smoothing_method = unigram_smoothing,
alpha=alpha,
lamda=lamda,
)
Expand Down

0 comments on commit e9835d3

Please sign in to comment.